add mac wrapper delegate