var priceComp2 declared and assigned