exercise problem 16