but it is not very easy to tell chatGPT what is wrong in its code/or what should be improved to get such a thing works. so I ended up co-writing the code, it still fulls a lot of bugs, but it worked anyway, even though not perfect