tested restructuring pkls