Conditions required for formation of waterfall​