restructuring model and cleaning