Added error output.