Thanks, that was the answer to my problem