exercises 2-7