changed variable name and indentation