Changed the pricing algorithms