a canal is for diverting excess water to safe areas