i leave here code of multithreading still won't work but idk why cuse i debug step by step and values are same like working example (link)
https://pastebin.com/4wxf14jv i hope you'll figure out what is going on