implementing textbox entirely