move data loading to another file