started reading the string from text input