trying to understand referrals