added simple water balance
additional operator to fix compile error