add validation rules