looking at first incidence red-green swap