parsing error problem

How would i correct this parsing error?

using UnityEngine;
using System.Collections;

public class EnemyAI : MonoBehaviour {
	public Transform target;
	public int movespeed;
	public int rotationspeed;
	public int maxDistance;
	private Transform myTransform;
	
	void Awake() {
		myTransform = Transform;
	}
	
	void Start () {
		GameObject go = GameObject.FindGameObjectWithTag("Player");
		
		target = go.transform;
		maxDistance = 2;
	} 
	void Update () {
		
		myTransform.rotation = Quaternion.Slerp(myTransform.rotation,Quaternion.LookRotation(target.position - myTransform.position),rotationspeed* Time.deltaTime); 
		if(Vector3.Distance(target.position, myTransform) > maxDistance) {
		    myTransform.position += myTransform.forward * movespeed * Time.deltaTime;  
	    }
	
     }
}
 void Awake() {

        myTransform = transform;

    }

It still say’s there is a error with vector3.Distance.It has some invalid arguments.

change myTransform to myTransform.position :

if``(Vector3.Distance(target.position, myTransform``)`` > maxDistance)`` ``{

Thankyou very much.