changed variable name to something more sensible