Analytic code