reorganized shared dictionary stuff