would't be better to use to_i method