Thanks very much for your help Peter. It is working well now