that is exactly what i was looking for. Thank you! the code is much cleaner than the code that I had built in the original file I was using. Thanks for all the help and your time.