Add algo based calculation