Add threads example