changed to player key event