Local multithread data (still buggy)