How does the referral work?