added keyboard shortcut functionality