begin to write the code for AutoTextField.