Dam, diversion