adding sample of thread