changed variable name to not clobber existing variable