Changed incorrectly named variable in code sample