validate becomes a method