using correct variable name