any particular reason you use '.to_i' here, but not above? just wondering!