Added switch case for customer referral