add maginds support