chris gave me a way to multithread properly