Similar work on input.