NWT.  xS Ruby port

S-002