add mi and unit test case