thanks

it worked

pretty new at ruby, 3 days now