adding validation classes