added analytics and credit