added formula for hasoffers 3.0.6