NMC- further correcting typo and changing method name to allow function