WayPoint AI wont work... pls help

using UnityEngine;
using System.Collections;

public class WayPointAI : MonoBehaviour {

public Transform[] wayPoint = new Transform[7]; // create an array for storing each waypoint
int currentWayPoint = 0; // the first waypoint for the enemy

//enemy
float rotationSpeed = 6.0f; //private var
public float accelerate = 1.8f;


// Use this for initialization
void Start () 
{
	//find each waypoint object in the scene when game is loaded
	wayPoint[0] = GameObject.Find ("WayPoint1").transform;
	wayPoint[1] = GameObject.Find ("WayPoint2").transform;
	wayPoint[2] = GameObject.Find ("WayPoint3").transform;
	wayPoint[3] = GameObject.Find ("WayPoint4").transform;
	wayPoint[4] = GameObject.Find ("WayPoint5").transform;
	wayPoint[5] = GameObject.Find ("WayPoint6").transform;
	wayPoint[6] = GameObject.Find ("WayPoint7").transform;
	
	
}

// Update is called once per frame
void Update () 
{
	//when enemy reached last WayPoint, destroy instance
	if (currentWayPoint == 7) 
	{
		Destroy(this.gameObject);
	}
	else 
	{
		walk(); 
	}
}
//make the enemy move
void walk()
{
	
	//look at the next waypoint
	Quaternion rotation = Quaternion.LookRotation(wayPoint[currentWayPoint].position - transform.position);
	//control how fast the enemy turns
	transform.rotation = Quaternion.Slerp (transform.rotation, rotation, Time.deltaTime * rotationSpeed);
	
	//move the enemy
	Vector3 wayPointDirection = wayPoint[currentWayPoint].position - transform.position);
	float speedElement = Vector3.Dot(wayPointDirection.normalized, transform.forward);
	float speed = accelerate * speedElement;
	transform.Translate(0,0,Time.deltaTime*speed);
	
}

void OnTriggerEnter(Collider collider)
{
	if (collider.tag == "WayPoint")
		currentWayPoint++;
	
}

}

it says there’s an error with the line starting Vector3 but i cant get my head round it

Vector3 wayPointDirection = wayPoint[currentWayPoint].position - transform.position);

extra parenthese at the end