CNN restructuring