add some cross validation stuff