purpose of referral system