validate.cc #2