Added keyCode constants to improve code readbility