working on new error reporting strategy