some extraordinary thread work added