charText and message are defined on line 49 and 50