with data restructuring