rename local variable to avoid shadowing warning