add MATE support