adding ramp method