thread safe cache utility added