Add methode validate