allow user to input by text box