adding cmments to nmisfunctions