make NM optional, it's only needed for trafic counting