add more threading examples