added NM units option