wrong variable name in code sample