switched to persistenthashmap