edited mim to work with other changes