code tightening