Declared the key codes at the beginning