mainBody class edited