started work on keyboard events