check for error before you do anything else
check that everything exists before getting the waterfall