modified attenuator to be more sooth, vd to take abs
merge