Created validator extension