Adding Thread example