two new functions "in_collection" and "get_relationships"