adding the key codes