Fixed code in example.