nmt strings merged

and code modified