added nls support