changed variable names to more obvious