Fun with flags(sets)