Completed Problem 2