implementing textBox view type