separate dataloading code from baseline system