delete code for color-swap functionality