Refactored a variable name to avoid conflict with an inherited one