watching the text change with the console log