removing/restructuring data