implemented error reporting
implemented clearing errors after seen