Thanks Richard, took along time to do all that processing but it's sorted!