finished upto analysis