Internet of Things for Business

Chapter 6
IoT Data Management and Enterprise Integration

Master of Business Administration
Internet of Things for Business   •   Maters

IoT Data Management and Enterprise Integration

Introduction

An Internet of Things (IoT) initiative creates value only when data moves reliably from physical events to business decisions and operational action. A sensor reading, by itself, is not a business capability. It becomes valuable when it is captured with context, transmitted securely, stored appropriately, combined with enterprise data, analysed, and used to improve a process such as maintenance, customer service, production planning, or supply-chain execution.

IoT data management therefore concerns more than databases. It encompasses the complete data lifecycle: acquisition, transport, stream processing, storage, quality management, governance, retention, integration, analytics, artificial intelligence (AI), and eventual deletion. Enterprise integration connects IoT platforms with enterprise resource planning (ERP), customer relationship management (CRM), supply-chain management (SCM), manufacturing and operational technology (OT) systems, and older legacy applications.

For managers, the central challenge is balancing speed, scale, cost, accuracy, security, and business usefulness. A technically sophisticated platform can still fail if data definitions are inconsistent, ownership is unclear, or insights cannot be embedded into operational workflows.

Learning objectives

By the end of this chapter, the reader should be able to:

  1. Design an IoT data lifecycle from acquisition through retention and deletion.
  2. Distinguish batch, streaming, and event-driven data management approaches.
  3. Evaluate IoT data quality, metadata, lineage, governance, and retention policies.
  4. Explain interoperability through standards, APIs, semantic models, and integration patterns.
  5. Design integration with ERP, CRM, SCM, OT, and legacy systems.
  6. Assess how IoT data supports analytics, machine learning, and AI-enabled decisions.
  7. Critically evaluate security, privacy, cost, and organizational risks in an integration program.

1. The IoT data lifecycle

The IoT data lifecycle is a controlled sequence through which data is created, processed, used, preserved, and removed. A useful managerial model contains the following stages:

  1. Acquisition: Sensors, machines, mobile devices, gateways, applications, and external systems generate observations.
  2. Ingestion and transport: Data is authenticated, encoded, transmitted, buffered, and routed.
  3. Processing: Data is validated, normalized, enriched, filtered, aggregated, and correlated.
  4. Storage: Data is placed in operational stores, time-series databases, data lakes, warehouses, or archives.
  5. Use and analysis: Dashboards, alerts, reports, statistical models, machine-learning models, and AI applications consume it.
  6. Integration and action: Results update enterprise records or trigger maintenance, replenishment, customer communication, or control action.
  7. Retention and disposal: Data is retained according to legal, operational, analytical, and evidential requirements, then securely deleted or anonymized.

The lifecycle is not strictly linear. A model may send a command back to a device; a corrected record may be reprocessed; and archived data may be recalled for an investigation. Governance must therefore preserve traceability across repeated transformations.

1.1 Acquisition and contextualization

Raw device data is often incomplete as a business record. A temperature value of 8.2 has little meaning without a sensor identifier, asset identifier, location, timestamp, unit, calibration status, and measurement context. A practical event envelope commonly includes:

  • event identifier and event type;
  • device and asset identifiers;
  • event time and ingestion time;
  • location or operational context;
  • value and unit of measure;
  • quality or confidence indicator;
  • firmware, schema, and calibration metadata;
  • security credentials and provenance information.

Two timestamps are especially important. Event time indicates when the physical event occurred; ingestion time indicates when the platform received it. Network delay, intermittent connectivity, and gateway buffering can make the two differ. Analytics based on production sequence or equipment behaviour normally requires event time, whereas capacity planning for the integration platform may use ingestion time.

Devices should not transmit everything indiscriminately. Sampling frequency, local filtering, compression, edge aggregation, and event-triggered transmission can reduce bandwidth and storage costs. However, aggressive filtering can remove information needed for later diagnosis. The design decision should be based on the value of information, response-time requirements, connectivity, energy constraints, and regulatory needs.

1.2 Ingestion and streaming

Batch processing collects data and processes it periodically. It is appropriate for daily billing, historical reporting, model training, and large-scale transformations where immediate action is unnecessary. Stream processing handles records continuously or in short intervals. It is suitable for detecting overheating, intrusion, production stoppage, or cold-chain breaches. Event-driven integration uses a business or device event—such as MachineTemperatureExceeded—to invoke one or more downstream services.

A stream design must address throughput, latency, ordering, duplicates, missing events, replay, and failure recovery. Important terms include:

  • Latency: elapsed time between event creation and availability for use.
  • Throughput: records processed per unit of time.
  • Backpressure: controlled slowing or buffering when producers exceed consumer capacity.
  • At-least-once delivery: an event is delivered one or more times, requiring idempotent consumers.
  • At-most-once delivery: an event may be lost but is not redelivered.
  • Exactly-once processing: the intended effect occurs once, although achieving it across independent systems is difficult and often implemented through transactions, deduplication, and idempotency.

A simple sizing approximation is:

R = N × f × s

where N is the number of devices, f is the average messages per device per second, s is the average message size in bytes, and R is the raw ingestion rate in bytes per second. The formula assumes a stable average rate and excludes protocol overhead, replication, indexes, retries, and peak demand. Capacity planning should therefore apply a peak multiplier and estimate storage separately.

For example, 10,000 devices sending one 500-byte message every 10 seconds produce R = 10,000 × 0.1 × 500 = 500,000 bytes per second, approximately 0.5 MB/s before overhead. Daily raw payload is approximately 500,000 × 86,400 = 43,200,000,000 bytes, or about 43.2 GB using decimal units. Replication, metadata, indexes, and retention may make actual capacity several times larger.

1.3 Processing and storage architectures

Processing may occur at the edge, near the device; in the platform, within an IoT or event-processing service; or in enterprise and analytical environments. Edge processing reduces latency and bandwidth use and can continue during cloud disconnection. Central processing offers greater computational capacity, shared models, and broader data correlation. A hybrid architecture is usually most practical.

Storage should be selected according to access patterns rather than fashion:

Storage typeAppropriate useMain consideration
Device or gateway cacheTemporary buffering and local decisionsLimited capacity and resilience
Time-series databaseHigh-volume readings indexed by timeEfficient temporal queries and downsampling
Operational databaseCurrent asset, order, or customer stateTransactional consistency
Data lake or object storeRaw and semi-structured historical dataGovernance and discoverability
Data warehouse/lakehouseCurated analytical datasetsConsistent metrics and performance
ArchiveInfrequent, long-term retentionLow cost but slower retrieval

A data lake preserves diverse raw data, whereas a warehouse emphasizes curated, structured data for governed analysis. A lakehouse seeks to combine flexible storage with warehouse-style reliability and management. None automatically solves poor quality or unclear ownership.

A common pattern is to retain high-resolution data for a short period, store aggregates for a longer period, and preserve selected raw records where legal, safety, or analytical needs justify the cost. Aggregation must be designed carefully: averages can conceal peaks, and minimum/maximum values may be necessary for safety analysis.

2. Data quality, metadata, and governance

IoT data quality is multidimensional. Relevant dimensions include:

  • Accuracy: closeness to the true value;
  • completeness: absence of required values or events;
  • timeliness: availability within the required time window;
  • consistency: agreement across systems and records;
  • validity: conformance to allowed formats, ranges, and units;
  • uniqueness: absence of unintended duplicates;
  • integrity: preservation of relationships and provenance.

Quality is fitness for a defined purpose. A reading arriving two hours late may be unacceptable for safety control but useful for a monthly energy report. Managers should therefore define service-level objectives for data, not merely demand “high quality.”

Validation rules can reject impossible values, flag suspicious changes, check device identity, verify units, and compare readings with expected operating ranges. A missing value should not automatically become zero. It should be represented as missing, estimated, or imputed, with the method and confidence recorded.

Metadata describes data: its meaning, source, owner, unit, schema, quality, sensitivity, transformation history, and retention class. A business glossary may define “available inventory” differently from “physical stock.” Without a common glossary, departments can produce apparently precise but incompatible reports.

Data lineage records where data originated, which transformations occurred, which models used it, and where outputs were published. Lineage supports regulatory explanation, debugging, model monitoring, and impact analysis when a sensor or schema changes.

Governance assigns decision rights. A governance model should identify data owners, stewards, custodians, platform operators, security officers, and business consumers. It should also specify naming conventions, master-data rules, access approval, quality escalation, schema change management, and audit requirements.

3. Retention, privacy, and security

Retention is a business and legal policy, not simply a storage setting. A retention schedule should state the data class, purpose, owner, minimum retention period, maximum retention period, archival treatment, deletion method, and legal-hold exception. Retaining everything indefinitely increases cost, attack surface, and privacy exposure; deleting too early can undermine safety investigations, contractual evidence, or model reproducibility.

Privacy risks arise when sensor data is linked to people, vehicles, homes, workplaces, or behavioural patterns. Data minimization, purpose limitation, access controls, pseudonymization, encryption, and transparent notices are important safeguards. Aggregation may reduce risk but does not guarantee anonymity, especially when datasets can be combined.

Security must cover the entire chain: device identity, secure boot where appropriate, credential rotation, encrypted transport, encrypted storage, network segmentation, least-privilege access, vulnerability management, monitoring, backup, and incident response. Integration accounts should be narrowly scoped. A compromised sensor should not automatically have authority to alter financial or production records.

4. Interoperability and integration architecture

Interoperability is the ability of systems to exchange data and use the exchanged data meaningfully. It has at least three levels:

  1. Technical interoperability: systems can connect and transmit messages.
  2. Syntactic interoperability: systems agree on structure, formats, and schemas.
  3. Semantic interoperability: systems interpret terms, units, identities, and relationships consistently.

A file can be technically transferable and syntactically valid yet semantically wrong—for example, one system may interpret status = 1 as “running” while another interprets it as “fault.”

Standards reduce integration friction, but standards do not eliminate design work. IoT solutions may use protocols such as MQTT for lightweight publish/subscribe messaging, HTTP-based REST APIs for web integration, and OPC UA for industrial interoperability. Data formats such as JSON, XML, and compact binary encodings support different trade-offs between readability, size, and processing efficiency. Industry models and vocabularies can improve semantic consistency, but organizations must still map identifiers and business meanings.

4.1 APIs and integration patterns

An API is a controlled interface through which software requests data or actions. A well-designed API documents resources, operations, authentication, authorization, schemas, error responses, rate limits, versioning, and service-level expectations. APIs should be designed around business capabilities, not merely database tables. “Retrieve asset health” is often more durable than exposing a changing internal table called sensor_readings.

Common patterns include:

  • Point-to-point integration: direct connection between two systems; quick initially but difficult to scale and govern.
  • Enterprise service bus: centralized routing, transformation, and orchestration; useful in heterogeneous environments but can become a bottleneck or dependency.
  • API-led integration: reusable APIs expose systems through governed interfaces.
  • Event-driven integration: events are published for multiple consumers without tightly coupling the producer to each consumer.
  • Extract-transform-load (ETL): data is transformed before loading into a target.
  • Extract-load-transform (ELT): raw data is loaded first and transformed in the analytical platform.
  • Change data capture: changes in a source database are propagated to downstream systems.

Synchronous APIs are appropriate when a requester needs an immediate response, such as checking an asset’s current status. Asynchronous messaging is preferable for high-volume telemetry, long-running processes, and loosely coupled consumers. Idempotency keys, correlation identifiers, retries with limits, dead-letter queues, and schema compatibility are essential operational controls.

IoT data lifecycle and enterprise integration architecture Devices Ingestion Stream / edge Storage Analytics / AI ERP CRM SCM / OT Governance: identity • quality • lineage • security • retention Actions and feedback
IoT data lifecycle and enterprise integration architecture
Figure: IoT data lifecycle and enterprise integration architecture

Figure: A governed IoT pipeline linking acquisition, processing, storage, analytics, and enterprise action.

5. Integration with enterprise systems

ERP integration

ERP systems manage authoritative transactions such as work orders, inventory, procurement, finance, and asset records. IoT data can update equipment runtime, trigger maintenance notifications, confirm production quantities, or improve inventory accuracy. The integration should distinguish raw telemetry from an approved transaction. A vibration anomaly may create a maintenance recommendation; only an authorized workflow should create a committed work order.

Master-data alignment is critical. Device ID, equipment ID, plant, cost centre, material number, and unit of measure must map consistently. Time-stamped telemetry should not overwrite the ERP’s transactional history without controls for correction and auditability.

CRM integration

CRM systems contain customer, service, interaction, and case information. Connected products can report usage, failure, location, or service conditions. This can support proactive service, usage-based offerings, warranty analysis, and customer segmentation. Privacy and consent are especially important because connected-product data may reveal behaviour. Customer-facing alerts should be understandable and should not expose uncertain model outputs as facts.

SCM integration

SCM integration connects sensing and analytics to demand planning, warehouse operations, transportation, supplier collaboration, and fulfilment. Location and condition sensors can provide estimated arrival times or cold-chain evidence. Inventory sensors can support replenishment, but automated orders require safeguards against faulty readings, duplicate events, supplier constraints, and minimum-order rules.

OT and legacy integration

Operational technology includes industrial control, supervisory control and data acquisition, programmable logic controllers, building systems, and specialized equipment. OT prioritizes safety, determinism, availability, and long equipment lifetimes; enterprise IT often prioritizes flexibility and rapid change. Integration should preserve network segmentation and avoid placing cloud or enterprise dependencies directly in safety-critical control loops.

Legacy systems may lack APIs, use proprietary formats, or depend on undocumented batch files. Practical approaches include adapters, database views, message gateways, robotic process automation for limited cases, and a canonical data model. RPA can bridge a temporary gap but is fragile compared with a governed service interface. A phased modernization strategy should first identify critical processes, stabilize identities and data definitions, then replace high-risk interfaces incrementally.

6. Integration with analytics and AI

Integration with analytics and AI is mandatory for turning IoT data into predictions and decisions. Three analytical horizons are useful:

  • Descriptive analytics: what happened, such as energy consumption by facility.
  • Diagnostic analytics: why it happened, such as identifying a failed component associated with a temperature pattern.
  • Predictive analytics: what is likely to happen, such as estimating remaining useful life.
  • Prescriptive analytics: what action should be taken, such as scheduling maintenance during a planned production window.

AI systems depend on data pipelines as much as on algorithms. A model-training dataset must define a target, observation window, prediction horizon, features, labels, and exclusion rules. Sensor failures, maintenance interventions, and changes in operating conditions can create missingness and bias. Randomly splitting time-series data can cause leakage: information from the future may enter the training set and produce an unrealistic evaluation. Time-based validation is generally more appropriate when the model will predict future events.

A production AI architecture commonly includes:

  1. governed historical data and feature definitions;
  2. training and validation pipelines;
  3. model registry and approval controls;
  4. real-time or batch scoring service;
  5. integration of predictions into ERP, CRM, SCM, or operator workflows;
  6. monitoring for drift, accuracy, latency, fairness, and operational impact;
  7. retraining and retirement procedures.

A prediction is not automatically a decision. For example, an AI model may assign a 0.82 probability of pump failure within seven days. The business rule may require a technician inspection, spare-parts availability, production criticality, and human authorization before scheduling work. This separation between prediction and action reduces automation risk.

AI governance should address explainability appropriate to the decision, human oversight, model accountability, cybersecurity, privacy, bias, and documentation. Generative AI may assist with incident summaries or natural-language queries, but it should be grounded in authorized enterprise data and prevented from issuing uncontrolled commands.

7. Applied case: cold-chain pharmaceutical distribution

This is an illustrative case. A pharmaceutical distributor operates refrigerated vehicles and warehouses. Regulations and customer contracts require evidence that products remained within permitted temperature ranges. The organization also wants to reduce spoilage and improve delivery reliability.

Background and problem

Temperature sensors transmit readings every minute, but vehicles sometimes lose connectivity. The warehouse system uses one asset identifier, the transport-management system uses another, and the ERP contains the product and shipment identifiers. Operations receives spreadsheets after delivery, so excursions are discovered too late.

Analysis

The firm maps the lifecycle and identifies three data classes: high-resolution telemetry, excursion events, and legally relevant delivery records. It defines event time separately from ingestion time and establishes a canonical relationship among sensor, vehicle, shipment, product lot, route, and customer. The quality policy specifies acceptable missing intervals, calibration evidence, unit conventions, and procedures for uncertain readings.

Approach and solution

Sensors authenticate to gateways, which buffer data during connectivity loss. The gateway emits an TemperatureExcursionSuspected event when local rules detect a sustained threshold breach. The central stream processor correlates readings with shipment and product data. An API exposes current shipment condition to customer-service staff, while an event updates the transport-management workflow. Confirmed excursions create a controlled quality case rather than directly changing inventory status.

Historical readings are stored in a time-series platform and summarized in a governed analytical store. A predictive model estimates excursion risk using route duration, ambient conditions, vehicle history, door openings, and refrigeration behaviour. The model’s output is used to prioritize inspection and rerouting; a quality specialist remains responsible for final disposition.

Outcome

The architecture reduces manual reconciliation, provides earlier warnings, and creates auditable evidence linking readings to shipments. The organization also discovers that sensor calibration metadata is essential: a highly accurate-looking stream from an overdue sensor cannot support a defensible quality decision.

Learning points

The case demonstrates that value comes from identity resolution, event-time handling, quality governance, workflow integration, and human accountability—not from sensors or AI in isolation. It also illustrates why integration should produce controlled business events and decisions rather than indiscriminately writing raw telemetry into enterprise systems.

8. Implementation roadmap and managerial evaluation

A sound implementation begins with business outcomes and critical journeys, such as reducing unplanned downtime or preventing shipment excursions. The organization should then:

  1. inventory devices, systems, owners, interfaces, and data classes;
  2. define canonical identities, units, event types, and quality rules;
  3. select latency, availability, throughput, and retention requirements;
  4. establish security architecture and privacy assessment;
  5. implement a small, high-value integration with observable controls;
  6. test failure modes, duplicates, delays, schema changes, and recovery;
  7. measure business outcomes and data quality;
  8. scale through reusable APIs, events, templates, and governance.

Evaluation should include both technical and business measures: ingestion success rate, end-to-end latency, duplicate rate, data completeness, API availability, cost per million events, mean time to detect incidents, maintenance avoidance, forecast improvement, customer response time, and realized financial benefit. A low-latency platform is not successful if users distrust the data or if no process acts on its outputs.

Challenges and limitations

Important limitations include device heterogeneity, unreliable networks, uncertain sensor calibration, high data volume, integration debt, evolving schemas, vendor lock-in, cybersecurity exposure, and difficulty proving AI causality. Standardization can improve interoperability but may constrain specialized capabilities. Central platforms improve visibility but can create concentration risk. Edge autonomy improves resilience but complicates software updates and governance.

Leaders should also recognize organizational barriers. Data ownership may cross departmental boundaries; incentives may reward local optimization; and operational staff may resist automated recommendations that lack explanation. Integration programs therefore require process redesign, training, accountability, and change management alongside technology.

Chapter Summary

IoT data management is a governed lifecycle that begins with contextualized acquisition and continues through ingestion, stream processing, storage, quality control, use, enterprise action, retention, and deletion. Event time, metadata, lineage, identity management, and quality dimensions determine whether telemetry can support reliable decisions.

Interoperability has technical, syntactic, and semantic levels. APIs, messaging, standards, canonical models, adapters, and event-driven patterns provide alternative ways to integrate IoT platforms with ERP, CRM, SCM, OT, and legacy environments. The appropriate design depends on latency, coupling, reliability, security, and process requirements.

Analytics and AI require trustworthy pipelines, time-aware validation, governed features, model monitoring, and controlled integration into business workflows. Predictions should inform decisions without bypassing authorization, safety, privacy, or professional judgment. Successful IoT integration is ultimately measured by improved business processes and accountable outcomes rather than by data volume alone.

Key Terms

API: A governed software interface for requesting data or actions.

At-least-once delivery: Messaging guarantee in which a record may be delivered repeatedly.

Canonical data model: Shared representation of core entities, events, and meanings across systems.

Data lineage: Record of data origin, transformations, uses, and destinations.

Data lake: Flexible storage environment for diverse raw and semi-structured data.

Data quality: Fitness of data for a defined business or analytical purpose.

Event time: Time at which a physical or business event occurred.

Event-driven integration: Integration in which published events trigger downstream processing.

ERP: Enterprise resource planning system managing integrated business transactions.

Idempotency: Property that repeating an operation produces the same intended effect as performing it once.

Interoperability: Ability of systems to exchange and meaningfully use information.

IoT data lifecycle: Stages through which IoT data is created, processed, used, retained, and disposed of.

Metadata: Data describing meaning, origin, structure, quality, ownership, and handling requirements.

OT: Operational technology that monitors or controls physical processes.

Retention policy: Rule specifying how long data is kept and how it is archived or deleted.

SCM: Supply-chain management systems and processes coordinating flows of goods and information.

Stream processing: Continuous or near-continuous processing of data as it arrives.

Semantic interoperability: Agreement on the meaning of data exchanged by systems.

Time-series database: Database optimized for values indexed by time.

Data drift: Change in input data or relationships that can reduce model performance over time.

Review Questions

Short Answer Questions

  1. What are the principal stages of the IoT data lifecycle?
  2. Why should event time be distinguished from ingestion time?
  3. Define semantic interoperability and explain its importance.
  4. What is idempotency in an integration service?
  5. Identify four dimensions of IoT data quality.

Long Answer Questions

  1. Compare batch, stream, and event-driven processing, including appropriate business uses for each.
  2. Explain how APIs, message brokers, canonical data models, and adapters can be combined in an enterprise integration architecture.
  3. Discuss the data governance requirements for IoT retention, privacy, security, and lineage.
  4. Explain how IoT data can support integration with ERP, CRM, and SCM systems, noting the risks of direct automation.
  5. Design a lifecycle and analytics architecture for an industrial predictive-maintenance program.

Analytical / Application Questions

  1. A fleet of 12,000 devices sends a 400-byte message every 20 seconds. Estimate the raw daily payload in decimal gigabytes, ignoring protocol overhead. What additional factors should be included in capacity planning?
  2. An AI model reports a high probability of machine failure, but the sensor has missing readings and expired calibration. Decide whether an automatic work order should be created and justify the governance controls required.
  3. A legacy warehouse system has no API and uses product codes that differ from the ERP. Propose an integration approach that supports near-real-time inventory visibility while protecting transaction integrity.

Multiple Choice Questions with Answers

Question 1

Which timestamp indicates when the physical IoT event occurred?

A. Event time

B. Ingestion time

C. Archive time

D. Deletion time

Correct Answer: A. Event time

Question 2

Which processing approach is most suitable for immediate detection of a dangerous temperature excursion?

A. Annual archival processing

B. Stream processing

C. Monthly batch reporting

D. Manual spreadsheet consolidation

Correct Answer: B. Stream processing

Question 3

What is the main purpose of metadata in an IoT data platform?

A. To eliminate all data storage costs

B. To describe data meaning, origin, quality, and handling

C. To replace device authentication

D. To guarantee that every sensor is accurate

Correct Answer: B. To describe data meaning, origin, quality, and handling

Question 4

Which level of interoperability concerns consistent interpretation of terms, units, and identities?

A. Physical interoperability

B. Technical interoperability

C. Semantic interoperability

D. Financial interoperability

Correct Answer: C. Semantic interoperability

Question 5

A service is idempotent when repeated identical requests:

A. Always create additional duplicate transactions

B. Produce the same intended effect as one request

C. Are rejected because APIs cannot be repeated

D. Require a different database for each request

Correct Answer: B. Produce the same intended effect as one request

Question 6

What is a major reason to retain event time separately from ingestion time?

A. It supports analysis of the actual sequence of physical events

B. It removes the need for device identifiers

C. It guarantees zero network delay

D. It converts raw data automatically into financial data

Correct Answer: A. It supports analysis of the actual sequence of physical events

Question 7

Which system most directly manages procurement, work orders, inventory, and financial transactions?

A. CRM

B. ERP

C. SCM only

D. Gateway cache

Correct Answer: B. ERP

Question 8

A model is trained on historical time-series data. Which validation approach best reduces future-information leakage?

A. Randomly mixing all observations before splitting

B. Using time-based training and validation periods

C. Deleting all missing observations without review

D. Validating only on the training data

Correct Answer: B. Using time-based training and validation periods

Question 9

Ten thousand devices send one 500-byte message every 10 seconds. Ignoring overhead, what is the approximate raw daily payload?

A. 4.32 GB

B. 43.2 GB

C. 432 GB

D. 4,320 GB

Correct Answer: B. 43.2 GB

Question 10

Which statement best describes the relationship between an AI prediction and a business action?

A. Every prediction should automatically execute a transaction

B. A prediction can inform a controlled workflow with authorization and human oversight

C. Predictions do not require monitoring after deployment

D. Model confidence eliminates the need for data-quality checks

Correct Answer: B. A prediction can inform a controlled workflow with authorization and human oversight

Internet of Things for Business
Chapter 6 of 15