added preliminary analyze step
made it bigger