better separation between threads