preparing to load data