prototype of keyboard shortcut