exercises 4.06 and 07