Added -N option, intermediate form of program.