tightened code