Working on 'mod' for repl