ThreadLocal edition revised 2