internal functions for mlmmm

Description

internal mlmmm functions

Details

These functions are not explicitly called by users