add key bindings & separate handler into new file