added code for the spedo-tach