coding up an idea to settle a bet we had one day