var priceComp declared and assigned