retrieve the current monad and namespace