color switch in _compare