separate analyze step