Fantastic! I've combined this into my code and it works exactly how planned. thanks!