exercises 5.15 and 16