if(argc < 4) {printf("error\n"); return -1;}