add function to empty out the input box