using cv folds properly