exercises 3.7-3.9