Added NMMin.java