updated headercompare