preparing for usage in repl-electric