I asked ChatGPT to write me a function. The code didnt compile. I told it so, and it was like oh, yes, my bad. Try this one instead. Seems like I can cut and paste random snippets from Stack Overflow instead.