Correct syntax error in example code