Added the textBox function.