addd in flags in named order.