Creating a Smart Referral System

by