found a typo in sample code