renamed variable to avoid masking