updated sample to match tutorial