Fixed a typo
updated example code