finalised first example, and some minor text corrections