Completed Problem 3