added: residual error output in driver