organize flags