use multiple return values instead of an array in InstancesTrainTestSplit