Beginning of createScenario