added two more validation rules