Thank you for this - been looking for something like this for ages