better error reporting
build