back and forth between load_data functions