adding cross-valdiation script