move data to init