Add ThreadSample