adding in analytics