Added error messages into the result