add parelization to cross validation