made a textbox class