NE 2001 code with slight modification