can't seem to get the code in validate_with_shift_times to work. params is not recognized?