hook into the input field