Renamed input_validate to input