Internal gears can be made by