added another function to mms module