convenience methods in repl program