added msg.Remove method