One way to prevent flooding