working on input.