add threading examples