Fixed add quantitative variable function