gets input text