Do exercises 3.13 and 3.14