use error reporting