Thanks for all the suggestions. I'm just poking at Al_po's suggested code bit now. I'll have a look at the other readings too.