troubleshooting the duel

Lots of comments and restructure. I have an idea what I need to do but
I have not quite worked that out yet.