I was getting an arguments error, so I suspected something. I asked chat gpt as a friend. Unlike many of my friends, it actually accepted its mistake and immediately rectified upon it. And at this point, it worked like a charm. 6/n