Problem 7 updated