changed incorrect variable name