first implementation of the body class