the textfield class is now rudimentarily implemented