The dueling machine