add error reporting