use flags in tablefier