add car class for checking the speed