Motorcycle script not working

I have a basic script for my motercycle

var speed : float = 5;
var z : float;

function Update () {
z = Input.GetAxis(“Vertical”) * speed * Time.deltaTime;
transform.Translate(0, z);
}

I keep getting an error saying

Assets/Motorcycle.js(6,25): BCE0023: No appropriate version of ‘UnityEngine.Transform.Translate’ for the argument list ‘(int, float)’ was found.

transform.Translate needs three floats. So you’ll want transform.Translate(0.0,0.0,z);

I think. Try it and see.

BTW, 0 is an integer, 0.0 is a float.