implement dfa repo key