Added a call back event displaying text on terminal