changed variable name and formatting