added namespace setup and more fine grained, less error prone getter