more convenience functions for cross validation