working on quantization