added constant for error reporting