added a few comments related to mi variable