worked on error classification