Done. It works. I realize the problem wasn't especially complicated., and there are code snippets that would let me do this without much work. But I just want to be clear, this is the first time I've used ChatGPT to write code.