add get_related method