Put in logic to detect two objects with different colors