solve exercises 14.3 - 14.5