Changed local variable name for consistency.