add initial error reporting