car class solution