add on calculateCo2Consumption if vehicle instanceof car or truck