added utility functions to traverse namespace