first bit of implementation for the textinputcontroller.