create method to wrap import direct training data