pass text to text bar