get flag types