beginning work on keyboard events