solve exercises 19.20 - 19.21