functioning input box