function operations switched to async.waterfall
refactoring vars names