modifications made by Paul Girard for CO2s project June 2014