I would do `salary = starting_salary.to_a[1]`, since what you really want is the last element, not the maximum element, right?