extra local variable for clarity