resource for namespace value; refactored