color cycling & shape flag reader