preparing for data migration