solve exercises 20.02 - 20.05