keyUpHandler method name changed to keyDownHandler