added a present_collection flag to the entity class