made createNamespace public