updated argparser snippet