changed Thread/CountDownLatch to Future