replaced ParseArgsOpt with ParseArgs