typo, absence of semicolumn at end assignment of speed