added formula for RSB spread plugin