working on ScenarioText widget class