universal analytic code