added code for serial terminal text area