modified formatting inside class car