implementation of a textbox
still far away from completion