         abort();
     }
 
-  int width = 640, height = 480;
-  double lowerX = -2, upperX = 2;
-  double lowerY = -2, upperY = 2;
-  int threads = 1;
-  char filename[100] = "fractal.png";
   if (svalue != NULL)
     sscanf(svalue, "%dx%d", &width, &height);
   if (rvalue != NULL)
     sscanf(rvalue, "%lf:%lf:%lf:%lf", &lowerX, &upperX, &lowerY, &upperY);
   if (tvalue != NULL)
-    sscanf(tvalue, "%d", &threads);
+    sscanf(tvalue, "%d", &maxThreads);
   if (filenameArg != NULL)
     sscanf(filenameArg, "%s", filename);
   printf("svalue = %s;%dx%d\nrvalue = %s; %lf, %lf, %lf, %lf\n", svalue, width, height, rvalue, lowerX, upperX, lowerY, upperY);
-  printf("tvalue = %s; %d\n", tvalue, threads);
+  printf("tvalue = %s; %d\n", tvalue, maxThreads);
   printf("filenameArg = %s; %s\n", filenameArg, filename);
   printf("quiet = %d\n", quiet);
 

}

int main(int argc, char** argv) {
  char *svalue = NULL, *rvalue = NULL, *tvalue = NULL, *filenameArg = NULL;
  bool quiet = false;
  int c;
  static struct option long_options[] =
      {


  Offset offset(lowerX, upperX, lowerY, upperY);

  generateImage(width, height, offset, maxThreads, filename, quiet);

  return 0;
}
