begin to support text input