add accessor methods to car class