add code about installing mids