helps keep thread