packaging corporation of america notes to consolidated financial statements ( continued ) december 31 , 2005 10 .
commitments and contingencies ( continued ) purchase commitments the company has entered into various purchase agreements to buy minimum amounts of energy over periods ranging from one to two years at fixed prices .
total purchase commitments over the next two years are as follows : ( in thousands ) .

2006
$ 2408
2007
1364
total
$ 3772

these purchase agreements are not marked to market .
the company purchased $ 12.8 million during the year ended december 31 , 2005 , $ 17.6 million during the year ended december 31 , 2004 , and $ 19.3 million during the year ended december 31 , 2003 under these purchase agreements .
litigation on may 14 , 1999 , pca was named as a defendant in two consolidated class action complaints which alleged a civil violation of section 1 of the sherman act .
the suits , then captioned winoff industries , inc .
v .
stone container corporation , mdl no .
1261 ( e.d .
pa. ) and general refractories co .
v .
gaylord container corporation , mdl no .
1261 ( e.d .
pa. ) , name pca as a defendant based solely on the allegation that pca is successor to the interests of tenneco packaging inc .
and tenneco inc. , both of which were also named as defendants in the suits , along with nine other linerboard and corrugated sheet manufacturers .
the complaints allege that the defendants , during the period october 1 , 1993 through november 30 , 1995 , conspired to limit the supply of linerboard , and that the purpose and effect of the alleged conspiracy was to artificially increase prices of corrugated containers and corrugated sheets , respectively .
on november 3 , 2003 , pactiv ( formerly known as tenneco packaging ) , tenneco and pca entered into an agreement to settle the class action lawsuits .
the settlement agreement provided for a full release of all claims against pca as a result of the class action lawsuits and was approved by the court in an opinion issued on april 21 , 2004 .
approximately 160 plaintiffs opted out of the class and together filed about ten direct action complaints in various federal courts across the country .
all of the opt-out complaints make allegations against the defendants , including pca , substantially similar to those made in the class actions .
the settlement agreement does not cover these direct action cases .
these actions have almost all been consolidated as in re linerboard , mdl 1261 ( e.d .
pa. ) for pretrial purposes .
pactiv , tenneco and pca have reached an agreement to settle all of the opt-out cases .
these agreements provide for a full release of all claims against pca as a result of litigation .
pca has made no payments to the plaintiffs as a result of the settlement of any of the opt-out suits .
as of the date of this filing , we believe it is not reasonably possible that the outcome of any pending litigation related to these matters will have a material adverse effect on our financial position , results of operations or cash flows .
pca is also party to various legal actions arising in the ordinary course of business .
these legal actions cover a broad variety of claims spanning our entire business .
as of the date of this filing , we believe it is .

Question: the company purchased how much in millions during the year ended december 31 , 2004 and during the year ended december 31 , 2003 under purchase agreements?
Answer: 36.9
Calculation: add(17.6, 19.3)