if always return input_values, cand we remove the else and just add as the last line of the method and avoid the same return in all the conditions