adjusted compare calculations to reflect unit price