getting MEMD transform to work