getRelated utility