solved #72
added utility functions to traverse namespace