vast improvement in error reporting