added 10 fold cross validation