exercises 4.12 and 13