added family to each collection function