renamed keyCode event to just key