some classes for validation of fields and formatters