add var to define mim