typo in example code fixed