reimplemented mplus and mplusi