mc
added caching to attrib, ns