Restructuring code sweet haz