So the code you get from chatGPT doesn't always work. Sometimes it does stuff like put in undefined variables, etc. But if you feed your error message back into chat it can explain what it is and sometimes rewrites the code to address the mistake. Been an interesting experience.