solve exercises 13.28 - 13.29