changed insert act to QtConcurrent