started some of the selling logic even though I don't know how the threads work exactly