added iterative analysis to wrapper analysis