added fields for error messages