change body attr controller to class