load_data function is starting to work properly to capture datasets