deleted unwanted code for textfield