text box input works, for the most part