added value ramping function