added basic Repl fucntions