better add_sma