added classes to outer divs