Adding Scenario 3 code