finished sequence funcs and pynkey_init