small changes to dotheanalysis