removed CreateThread references so no surprises