getParameters fun as async.waterfall