Adding exercises 18 through 24