got referrals working - hurray