Added thread-local examples