modify the load_data func