Use to_i instead of round