multi thread working but slower