add some documentation to cross validation