modified screenshot for problem 4