Started the setup for the checkText function.