exercises 1.15 and 1.16