maybe .to_i instead of to_s (you want to deal with numbers)