working on expand analytic