corrected an error in scenario 3