Wrote the data loader