renamed related to getRelated to avoid potential naming clashes