Involved a fair amount of guessing 🙂