exercises 1.22 - 1.28