altered for Car class