Initial work

use a countdownlatch