Finishing problem 3.