Fixed syntax error in example code