add mif support