add homework 7, exercise 1