added the ability to add error messages.