Work on input