to_i on line 5 is redundant as it will already be an integer;