prepared for exercise 6