exercise 5, done mostly at home