added quantization