changed namespace cache to hold strings