Speed is now saved locally in stead of globally.