Completed problem 2.3