finish first example of ch05