binding body to entity