fixed syntax error in example