add debug function for printing of MBSdataStruct