Started code for rendering waterfall