first bit of keymappings moved to dict