added function  to dire.Validation