making a CO2 emmissions calculator