added superclass for quantization