caching proc and func names