Thread chain working
small improvement