add current thread impl