initial repl func-ty and test