finished referral stat automation, to be activated later