major update to robustness ns which has been split into separate files. none of the code has changed.