In 1987, the Red Hook Treatment Plant was opened, diverting more sewage input from the canal. This $375 million plant collected waste from the existing Bond Street sewer and brought the total of combined sewer overflow (CSO) points in the city to 14. With the opening of the new plant, the last dry-weather discharge into a New York City waterway ended, and the CSO points now only function during rain storms. The next year a sewage pipe was installed within the flushing tunnel, but according to a New York City Department of Environmental Protection (NYCDEP) engineer, the pipe was so poorly installed that it failed "almost immediately". The city unsuccessfully attempted to fix the Flushing tunnel's sewage pipe in 1998. It was fixed in 1999 after engineers reversed the direction of the tunnel's fan. Previously, water from the canal had gone westward into the Buttermilk Channel, but now water from the channel went into the Gowanus Canal.