combine threads into one trying to fix issue with simulators