added mixpanel tracking