Refactored to a waterfall.