made changes to waterfall