generalised ramps