add classes for validation