added com threads in