swap green and purple