Add Esther's analysis code