thread local with hashtable.