Attempt at making textbox work