added the ability to indicate the error status