why would it need to be duplicated? doesn't repl depend on kv? i could be totally out of my depth here...just trying to keep things clean (says the one who just added a function excatly where he didn't want to)