add exercises 4-7