many thanks for all the answers and for taking time out to look at the problem