Hydraulic hose is graded by pressure, temperature, and fluid compatibility. Hoses are used when pipes or tubes can not be used, usually to provide flexibility for machine operation or maintenance. The hose is built up with rubber and steel layers. A rubber interior is surrounded by multiple layers of woven wire and rubber. The exterior is designed for abrasion resistance. The bend radius of hydraulic hose is carefully designed into the machine, since hose failures can be deadly, and violating the hose's minimum bend radius will cause failure. Hydraulic hoses generally have steel fittings swaged on the ends. The weakest part of the high pressure hose is the connection of the hose to the fitting. Another disadvantage of hoses is the shorter life of rubber which requires periodic replacement, usually at five to seven year intervals.