Thanks for the pointers, this sure is a good community/forum! I appreciate both inputs, while I learn Ruby. The && and or make better sense now. I'll be looking at the .map method. Also didn't know you could apply multiple methods in one line, very neat. Thanks for the help! Matt -- Posted via http://www.ruby-forum.com/.