updated version of threadcomm