added integration thread