adding thread local examples