reintroduced previous environment to likely_repl and likely_eval