added ThreadData and ThreadCapturing