initial attempt at a dueling engine