Ramp theory