The third step in designing retaining walls for optimal drainage is to plan and implement the drainage system according to the type, height, and location of the wall. Some general guidelines for drainage design include surface drainage systems that should have a minimum slope of 1% to ensure adequate flow and avoid ponding, as well as adequate capacity, outlets, and maintenance access to prevent clogging or overflow. Additionally, internal drainage systems should be designed to allow water to pass through or behind the wall using perforated pipes, weep holes, or granular fill. These systems should have a minimum slope of 2% to ensure adequate flow and avoid stagnation. Furthermore, combined drainage systems should be designed to integrate the surface and internal drainage systems using appropriate connections, fittings, and transitions. This system should have a consistent slope and direction to ensure efficient flow and avoid conflicts. Finally, it should have adequate coordination, inspection, and testing to ensure proper functioning and performance.