cross validation on the way