new try for key event processing