renamed body to entity