data restructure