learning ruby #2