verison is like defaultdict.__getitem__