Modified HybridCar to match with the book example.