get rid of the mixpanel dependency