refactored keybind