added new routine for quick changing of namespaces