add support for keystrokes