added color quantizer