moved cross validation to different module