added color reduction