add ThreadLocal class