run code for each version in a thread
Made threaded output more consistent