friday
added thread local storage
adasdfasdfasdfasfa