Don't treat your chatGPT answer as a stackoverflow accepted answer. You will find out later that it is incorrect and introduces new bugs to your code . Instead, use google and a little time for debugging. If you trust chatGPT, you will rather spend 23 hours debugging.