Sewage treatment is less effective when sanitary waste is diluted with stormwater, and combined sewer overflows occur when runoff from heavy rainfall or snowmelt exceeds the hydraulic capacity of sewage treatment plants. To overcome these disadvantages, some cities built separate sanitary sewers to collect only municipal wastewater and exclude stormwater runoff, which is collected in separate storm drains. The decision to build a combined sewer system or two separate systems is mainly based on the need for sewage treatment and the cost of providing treatment during heavy rain events. Many cities with combined sewer systems built their systems prior to installing sewage treatment plants, and have not subsequently replaced those sewer systems.