thread safe soft dictionary. -James & Kartik