changed made to interface; works with threads; need to check threadid vs process id