flag model