added comments to key codes