Level of errors from different analysis.
Simplified the code