made body private in entity
fixed errors concerning change of visibility if body