Added to_i method