Added keyCode data structure