First add the if keyword, then goFaster as a condition, and only at the end increment the speed variable.
if
goFaster
speed