switch to pflag