validator class