Original function only simulates the ratio and not abs values. Need to correct.