add missing function invocation in code sample
Merge pull request #86 from benjamingr/patch-1

add missing function invocation in code sample