changed timer in CarModel to thread