add quantize