Expected ')' before numeric constant.Controlling multiple servos w/potentiometer

Can anyone tell me why this error is happening and how to fix it. The error is happening at the loop code My code is below:

#include <Servo.h>

Servo index;
Servo middle;
Servo ring;
Servo pinky;
Servo thumb;

int pot0 = A0;
int pot1 = A1;
int pot2 = A2;
int pot3 = A3;
int pot4 = A4;

int valPot0;
int valPot1;
int valPot2;
int valPot3;
int valPot4;

void setup() {
index.attach(7);
middle.attach(6);
ring.attach(5);
pinky.attach(4);
thumb.attach(3);

}

void loop() {
valPot0 = analogRead(pot0);
valPot0 = map (valPot0, 0, 1023, 0 180);
index.write(valPot0);
delay(15);

valPot1 = analogRead(pot1);
valPot1 = map (valPot1, 0, 1023, 0 180);
middle.write(valPot1);
delay(15);

valPot2 = analogRead(pot2);
valPot2 = map (valPot2, 0, 1023, 0 180);
ring.write(valPot2);
delay(15);

valPot3 = analogRead(pot3);
valPot3 = map (valPot3, 0, 1023, 0 180);
pinky.write(valPot3);
delay(15);

valPot4 = analogRead(pot4);
valPot4 = map (valPot4, 0, 1023, 0 180);
thumb.write(valPot4);
delay(15);
}

  valPot4 = map (valPot4, 0, 1023, 0 180);

Count the number of commas

Please read https://forum.arduino.cc/index.php?topic=148850.0, specifically point #7 about posting code.