writing text to screen