working on input