add thread local example