using to_i method