Added arm() function to protect calls to speed(int)