added macd