before adding referral