validation
add class field and validations