fixed the example