Almost done with the textfield functionality