* better namespace handling and indexing including doctests