updated to new oMSG interface