build the textbox