BTW a little trick for later, if you i.e. have an array, and find yourself using a counter, you can stop using the counter and instead use array.size and check on that value. I like "Learn to Program" but I never bothered to make the examples. Like with homework in school many years ago - I did this in school. Not at home... :-) -- Posted via http://www.ruby-forum.com/.