refactored like to use likely_repl