First working of waterfall