working on input elements