move analyticis into a partial