code of MLinAction