Changed example code for input element