adding multithreading capabilities to analyzer