worked on input fields