MDSnet function

MDSnet