do not perform this leaf node hack
added ns-level docstring
mild refactor
added cli interface that is right