add sherlock-and-minimax with clean loop