order of flags matters for ml