Updated Problem 9