retrieving text from input box