working and with text box