Engineering methods can be used to control soil erosion. These include check dams, retaining walls, waterways, terracing, and embankments. Check dams are small temporary or permanent dams built across channels to slow water flow and reduce erosion. Retaining walls are designed to restrain soil on steep slopes. Waterways are designed to convey runoff at non-erosive velocities to disposal points and are often lined with grass. Engineering methods physically prevent erosion through structures, while bioengineering uses plants and trees.