Updated usage of ramp functions