'index' variable not used anymore in waterfall