Added crossvalidation step