changed variable names for better readability