Updated compose to use async.each