King James Version (1769)

Joshua 8

And the LORD said unto Joshua, Fear not, neither be thou dismayed: take all the people of war with thee, and arise, go up to Ai: see, I have given into thy hand the king of Ai, and his people, and his city, and his land:

And thou shalt do to Ai and her king as thou didst unto Jericho and her king: only the spoil thereof, and the cattle thereof, shall ye take for a prey unto yourselves: lay thee an ambush for the city behind it.

So Joshua arose, and all the people of war, to go up against Ai: and Joshua chose out thirty thousand mighty men of valour, and sent them away by night.

And he commanded them, saying, Behold, ye shall lie in wait against the city, even behind the city: go not very far from the city, but be ye all ready:

And I, and all the people that are with me, will approach unto the city: and it shall come to pass, when they come out against us, as at the first, that we will flee before them,

(For they will come out after us) till we have drawn them from the city; for they will say, They flee before us, as at the first: therefore we will flee before them.

Then ye shall rise up from the ambush, and seize upon the city: for the LORD your God will deliver it into your hand.

And it shall be, when ye have taken the city, that ye shall set the city on fire: according to the commandment of the LORD shall ye do. See, I have commanded you.

Joshua therefore sent them forth: and they went to lie in ambush, and abode between Beth-el and Ai, on the west side of Ai: but Joshua lodged that night among the people.

And Joshua rose up early in the morning, and numbered the people, and went up, he and the elders of Israel, before the people to Ai.

And all the people, even the people of war that were with him, went up, and drew nigh, and came before the city, and pitched on the north side of Ai: now there was a valley between them and Ai.

And he took about five thousand men, and set them to lie in ambush between Beth-el and Ai, on the west side of the city.

And when they had set the people, even all the host that was on the north of the city, and their liers in wait on the west of the city, Joshua went that night into the midst of the valley.

And it came to pass, when the king of Ai saw it, that they hasted and rose up early, and the men of the city went out against Israel to battle, he and all his people, at a time appointed, before the plain; but he wist not that there were liers in ambush against him behind the city.

And Joshua and all Israel made as if they were beaten before them, and fled by the way of the wilderness.

And all the people that were in Ai were called together to pursue after them: and they pursued after Joshua, and were drawn away from the city.

And there was not a man left in Ai or Beth-el, that went not out after Israel: and they left the city open, and pursued after Israel.

And the LORD said unto Joshua, Stretch out the spear that is in thy hand toward Ai; for I will give it into thine hand. And Joshua stretched out the spear that he had in his hand toward the city.

And the ambush arose quickly out of their place, and they ran as soon as he had stretched out his hand: and they entered into the city, and took it, and hasted and set the city on fire.

And when the men of Ai looked behind them, they saw, and, behold, the smoke of the city ascended up to heaven, and they had no power to flee this way or that way: and the people that fled to the wilderness turned back upon the pursuers.

And when Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned again, and slew the men of Ai.

And the other issued out of the city against them; so they were in the midst of Israel, some on this side, and some on that side: and they smote them, so that they let none of them remain or escape.

And the king of Ai they took alive, and brought him to Joshua.

And it came to pass, when Israel had made an end of slaying all the inhabitants of Ai in the field, in the wilderness wherein they chased them, and when they were all fallen on the edge of the sword, until they were consumed, that all the Israelites returned unto Ai, and smote it with the edge of the sword.

And so it was, that all that fell that day, both of men and women, were twelve thousand, even all the men of Ai.

For Joshua drew not his hand back, wherewith he stretched out the spear, until he had utterly destroyed all the inhabitants of Ai.

Only the cattle and the spoil of that city Israel took for a prey unto themselves, according unto the word of the LORD which he commanded Joshua.

And Joshua burnt Ai, and made it an heap for ever, even a desolation unto this day.

And the king of Ai he hanged on a tree until eventide: and as soon as the sun was down, Joshua commanded that they should take his carcase down from the tree, and cast it at the entering of the gate of the city, and raise thereon a great heap of stones, that remaineth unto this day.

Then Joshua built an altar unto the LORD God of Israel in mount Ebal,

As Moses the servant of the LORD commanded the children of Israel, as it is written in the book of the law of Moses, an altar of whole stones, over which no man hath lift up any iron: and they offered thereon burnt offerings unto the LORD, and sacrificed peace offerings.

And he wrote there upon the stones a copy of the law of Moses, which he wrote in the presence of the children of Israel.

And all Israel, and their elders, and officers, and their judges, stood on this side the ark and on that side before the priests the Levites, which bare the ark of the covenant of the LORD, as well the stranger, as he that was born among them; half of them over against mount Gerizim, and half of them over against mount Ebal; as Moses the servant of the LORD had commanded before, that they should bless the people of Israel.

And afterward he read all the words of the law, the blessings and cursings, according to all that is written in the book of the law.

There was not a word of all that Moses commanded, which Joshua read not before all the congregation of Israel, with the women, and the little ones, and the strangers that were conversant among them.

Study notes

Joshua 8

Doctrine

Once Israel removed the sin from the camp, the Lord returned to them with the same words of assurance He had given before: "Fear not, neither be thou dismayed" (Joshua 8:1). God restores His people after repentance and fights for them again. The chapter ends with the law read aloud to everyone, teaching that victory in the land rests on knowing and keeping His word, and that His law sets before His people both blessings and curses.

Principles

After a failure, God invites us to try again, often with a better plan and with all our effort rather than a token one. Joshua did not stay discouraged by the first defeat at Ai. Victories should lead us back to worship and renewed covenants, as Joshua built an altar and read the law right after the battle. Everyone, including women, children, and strangers, needs to hear the word of God for themselves (Joshua 8:35).

Christ

Jehovah, the premortal Christ, directs every step of the battle and signals the moment of victory when He tells Joshua to stretch out his spear (Joshua 8:18). The burnt offerings and peace offerings on mount Ebal point to His sacrifice, which atones for sin and brings peace between God and His people. Joshua, whose name is the Hebrew form of Jesus, leads the people to an altar and to the covenant, a type of the Savior's work.

Covenants

Joshua renewed Israel's covenant at mount Ebal just as Moses had commanded. He built an altar of uncut stones, offered burnt and peace offerings, wrote a copy of the law on stones, and read the blessings and curses while the tribes stood half before mount Gerizim and half before mount Ebal around the ark of the covenant (Joshua 8:30–35). Strangers living among Israel stood with them, included in the covenant community.

Commandments

The Lord commands Joshua to take all the people of war, to set an ambush behind Ai, and to treat Ai as he had Jericho, except that this time Israel may keep the cattle and spoil for themselves (Joshua 8:1–2). He commands Joshua to stretch out his spear toward the city (Joshua 8:18). Joshua obeys Moses' earlier command to build an altar of whole stones untouched by iron and to read all the law to the congregation (Joshua 8:31–35).

Prophecies

The Lord foretells at the start, "I have given into thy hand the king of Ai, and his people, and his city, and his land" (Joshua 8:1), and the chapter shows every part fulfilled: the city taken and burned, its people defeated, and the king brought alive to Joshua (Joshua 8:19–29).

Symbols

Joshua's outstretched spear, held until the victory was complete (Joshua 8:26), recalls Moses' raised hands in the battle with Amalek and pictures steady reliance on God until His work is done. The altar of uncut stones represents worship offered on God's terms rather than shaped by human craft. The two mountains, Gerizim and Ebal, stand for the two paths of blessing and cursing that the law sets before every person.

Questions

Why did the Lord allow Israel to keep the spoil of Ai when the spoil of Jericho was forbidden? What does it say about Joshua that he stopped right after the battle to build an altar and read the law? How do I renew my covenants after a season of struggle? Why was it important that the women, children, and strangers heard every word of the law?

Key verses

Joshua 8:1 shows the Lord renewing His promise to a people who had just repented. Joshua 8:26 shows Joshua keeping his spear stretched out until the work was finished, a picture of persistence. Joshua 8:35 records that Joshua read every word Moses commanded before the whole congregation, including women, little ones, and strangers, showing that the covenant belongs to all.

Hard passages

Verse 3 says Joshua chose thirty thousand men and verse 12 says he set about five thousand in ambush. Some read these as two groups, others as one force described two ways, and the text does not settle it. The total destruction of Ai's people and the hanging of its king are hard to read. They followed the ban the Lord placed on Canaan's cities in Moses' law. The king's body was taken down at sunset, as Deuteronomy 21:22–23 required.

Connections

Moses commanded the altar, the plastered stones, and the ceremony at Gerizim and Ebal in Deuteronomy 11:29 and 27:1–26. The rule against iron tools on the altar is in Exodus 20:25. Joshua's raised spear echoes Moses' raised hands in Exodus 17:11–12. The law about taking down a hanged body before night is in Deuteronomy 21:22–23. Later public readings of the law appear under Josiah in 2 Kings 23:2 and under Ezra in Nehemiah 8:1–8.

Setting

The battle follows directly after Achan's sin was purged in the valley of Achor. Ai lay in the central hill country near Bethel, guarding the route from the Jordan Valley up into the land. Mount Ebal and mount Gerizim stand on either side of the valley near Shechem, farther north, where Abraham first built an altar in Canaan. Moses had commanded this ceremony to take place once Israel entered the land.

People

The Lord directs the attack. Joshua plans the ambush, leads the feigned retreat, holds out his spear, and later builds the altar and reads the law. The ambush force seizes and burns Ai. The king of Ai rushes out to fight, is captured, and is hanged. The men of Bethel join Ai's men in the chase. The elders, officers, judges, Levite priests, and the whole congregation take part in the covenant renewal.

Speakers

The Lord speaks to Joshua at the outset to promise victory and command the plan (Joshua 8:1–2), and again in the battle to tell him to stretch out his spear (Joshua 8:18). Joshua gives the ambush its orders (Joshua 8:4–8), and in his plan he predicts that the men of Ai will boast, "They flee before us, as at the first" (Joshua 8:6). At mount Ebal, Joshua reads the law to the whole congregation (Joshua 8:34–35).

Original words

"Spear" in verse 18 is kidon, a javelin or short sword, which Joshua held out as a signal. "Utterly destroyed" in verse 26 is charam, the verb form of cherem, meaning to devote wholly to the Lord. "Whole stones" in verse 31 is shalem, meaning complete or uncut, related to shalom. "Heap" in verse 28 is tel, a ruin mound, and the name Ai itself means "the ruin."

Culture

Ancient cities were built on mounds, and a destroyed city left a tel, a heap of ruins that could stand for centuries. Altars of uncut stone kept Israel's worship distinct from the carved altars of the nations. Reading the law aloud to the whole assembly was how most people learned it, since few had written copies. Writing laws on large plastered stones was a known way to display them publicly in the ancient Near East.

Joshua as a whole

Doctrine

The book of Joshua is a long witness that God keeps His word. The land He swore to Abraham, Isaac, and Jacob is entered, won, and divided, until the narrator can say that not one good thing the Lord had spoken failed (Joshua 21:45). Every victory is His. The Jordan stops, Jericho's walls fall, and hail and lengthened daylight decide a battle, so Israel's strength is never the cause. Yet His presence is tied to covenant faithfulness. When Achan hides what was devoted, the Lord says He will be with Israel no more until the sin is removed (Joshua 7:12), and His power returns once it is. The book also shows that His mercy reaches beyond Israel, to Rahab who believed and to the Gibeonites who sought peace in His name. The work of God does not stop when a prophet dies, for the Lord is with Joshua as He was with Moses. Finally, the book ends on agency. The Lord has given everything, and now each person must choose whom to serve (Joshua 24:15).

Principles

Joshua teaches that courage grows from trusting that the Lord goes with us, not from easy circumstances. Daily scripture study shapes what we do, not only what we know. Miracles often wait on the first step, as the waters parted only when the priests' feet touched the river. Exact obedience to instructions that seem strange can open doors no effort could. Hidden sin does not stay private: one man's theft cost a whole army its strength. Easy decisions still need prayer, as the Gibeonites' worn sandals showed when Israel "asked not counsel" of the Lord. Once we give our word, we keep it, even when it costs us. Blessings already offered can be lost through delay, so Joshua's question "How long are ye slack?" still applies. Caleb shows that wholehearted discipleship can last a lifetime and grow bolder with age. The near war over the altar Ed teaches us to ask before we accuse. Memorials, written records, and stories told to children keep the Lord's help from being forgotten. Partial obedience leaves snares that wound later generations. And a parent can settle a family's course by deciding, as Joshua did, that their house will serve the Lord.

Christ

Joshua bears the same name as Jesus, Yehoshua, "Jehovah saves," and the King James New Testament even calls him Jesus in Acts 7:45 and Hebrews 4:8. Like his namesake, he leads God's people out of wandering, through water, into rest and an inheritance. The crossing of the Jordan pictures baptism, and the ark of the Lord's presence goes into the river first and stays until every person has passed over, as the Savior goes before us and stays until all are through. The captain of the Lord's host, who receives worship on holy ground, shows the Lord as the true commander of His people. Rahab's scarlet cord recalls the Passover blood and points to the blood that saves all who abide under it, and Rahab herself became an ancestor of Christ. The cities of refuge point to Him most clearly: the slayer went free only at the death of the high priest, as we are freed through the death of our great High Priest. The book ends with a land given that Israel "did not labour" for, a picture of grace that comes before any merit of ours.

Covenants

The whole book is the Abrahamic covenant made good. The land promised to the fathers is taken and given to each tribe as a lasting family inheritance. Three covenant renewals frame the story. At Gilgal the wilderness generation receives circumcision, the token of Abraham's covenant, and keeps the Passover before the first battle. At Mount Ebal and Mount Gerizim Joshua builds an altar, writes the law on stones, and reads the blessings and curses to all Israel, strangers included. At Shechem, near his death, he calls the people to choose the Lord, and they promise three times to serve Him, stand as witnesses against themselves, and see the words written in the book of the law. Oaths sworn in the Lord's name bind even when hard to keep: the spies keep faith with Rahab, and Israel keeps its league with the Gibeonites though it was gained by deceit. The eastern tribes keep their promise to fight until their brethren have rest. Levi receives no territory because its covenant calling is the priesthood. Stones and an altar named Ed stand as witnesses so later generations will remember what was promised.

Commandments

The Lord's first charge to Joshua becomes the book's refrain: be strong and of a good courage, keep all the law Moses gave without turning to the right or the left, and meditate on it day and night (Joshua 1:7-9). Israel is told to sanctify themselves before the Lord works wonders, to take nothing of what is devoted to Him, and to drive out the peoples of Canaan without making covenants or marriages with them. The land is to be divided by lot, cities of refuge are to be set apart for those who kill by accident, and the Levites are to receive cities with pastureland among all the tribes. As Joshua grows old, the commands turn inward. Israel must love the Lord, walk in His ways, cleave to Him, and serve Him with all their heart and soul (Joshua 22:5). They must not mention, swear by, or bow to other gods (Joshua 23:7). Finally they are commanded to fear the Lord, serve Him in sincerity and truth, put away the strange gods among them, and choose this day whom they will serve (Joshua 24:14-15).

Prophecies

Much of the book is the fulfillment of earlier prophecy. The Lord's opening promises that no one would stand before Joshua and that he would divide the land come true in the conquest and the allotments, and the book itself declares that every good word came to pass (Joshua 21:45). Within the book, Joshua foretells that the Jordan's waters will stand in a heap, and they do. The Lord foretells that Jericho's walls will fall at the shout, and they do. Joshua's curse on whoever rebuilds Jericho, costing him his eldest and youngest sons, is fulfilled when Hiel of Bethel rebuilds it in Ahab's day (1 Kings 16:34). Joshua's farewell warnings look furthest ahead. He says the nations left in the land will become snares and thorns if Israel turns to their gods, and that the Lord who kept every promise would keep His warnings too. That came true in the cycles of apostasy in Judges 2 and finally in the loss of the land told in 2 Kings 17 and 2 Kings 25, first for the north and then for Judah. The burial of Joseph's bones at Shechem fulfills his own request in Genesis 50:25.

Symbols

The Jordan marks the line between wandering and inheritance, and passing through it is often read as a type of baptism. The ark going before the people stands for the Lord's presence leading the way. The twelve stones from the riverbed are a memorial meant to prompt children's questions. Rahab's scarlet cord marks a house of refuge in a doomed city, as the Passover blood once marked Israel's doors. At Jericho the number seven, in priests, trumpets, days, and circuits, signals the Lord's complete work. Achan's treasure buried under his tent pictures hidden sin that still defeats us. The enemy's horses and chariots stand for human strength Israel must not trust. The lot shows that the Lord, not human favor, places each family. The cities of refuge picture safety in Christ, and the death of the high priest pictures His Atonement. The altar Ed and the great stone at Shechem are witnesses of covenants made. Through it all, rest in the land points to the greater rest the Lord gives the faithful (Hebrews 4:8-9).

Questions

Why does the Lord tell Joshua so many times to be strong and of good courage, and what fear in my life needs that same word? What would it look like to keep the scriptures in my mouth and mind day and night? Why did the waters part only after the priests stepped in? What stones do I keep to remember what the Lord has done? What hidden thing in my tent might be costing me strength? Which decisions seem so obvious that I forget to pray about them? Why did Israel keep an oath gained by a lie? Rahab, the Gibeonites, and the stranger at Ebal were all outsiders. What does their place in this book teach about who belongs to God's people? Where am I slack to possess blessings the Lord has already given? What would it mean to follow the Lord wholly, as Caleb did, for a lifetime? How can the book say that Israel possessed all the land when Canaanites remained? Why did Joshua tell the people they could not serve the Lord right after they promised to?

Key verses

Joshua 1:9 sums up the Lord's charge to a new leader and to every disciple: do not be afraid or dismayed, for the Lord your God is with you wherever you go. It opens a book about facing what looks impossible. Joshua 21:45 is the book's turning point and its verdict on God: not one good thing the Lord had spoken to Israel failed, but all came to pass. Everything before it shows the promise being kept, and everything after it asks how Israel will respond. Joshua 24:15 is that response, the book's closing call to choose this day whom you will serve, with Joshua's own answer that he and his house will serve the Lord. Together these verses trace the book's arc from the Lord's promise, to His faithfulness, to the choice He leaves with His people.

Hard passages

The hardest part of Joshua is the destruction of whole Canaanite cities. The word cherem means devoted wholly to God and removed from human use. Scripture presents these wars as judgment on peoples whose iniquity had become full (Genesis 15:16), a point Nephi makes in 1 Nephi 17:32-35, and as protection for Israel from their idolatry, not as a pattern for others. Rahab and the Gibeonites show that those who turned to the Lord could be spared. The sun standing still (Joshua 10:12-14) is quoted from a poem in the book of Jasher, and faithful readers differ on how the Lord lengthened the light. The point is that He answered Joshua and fought for Israel. Joshua 21:43-45 says Israel possessed all the land, yet other chapters admit Canaanites remained (Joshua 15:63, 17:12). The Lord did His part and broke every army that opposed Israel, while finishing each tribe's portion was left to the tribes, who often stopped short. Joshua 11:20 says the Lord hardened the kings' hearts. Elsewhere scripture shows people harden their own hearts first, and the Lord lets that choice run its course.

Connections

Moses commissions Joshua in Deuteronomy 31:7-8, and the book carries out Deuteronomy's commands, from the cities of refuge in Deuteronomy 19 to the ceremony at Ebal and Gerizim in Deuteronomy 27:1-13. Joshua is shaped as Moses' successor: the Jordan parts as the Red Sea did (Exodus 14), and he removes his shoe on holy ground as Moses did (Exodus 3:5). Caleb's story begins with the twelve spies in Numbers 13-14. Judges 1-2 picks up where Joshua leaves off, showing the unfinished conquest and the apostasy Joshua warned of. The New Testament draws on the book often. The promise "I will not fail thee, nor forsake thee" is quoted in Hebrews 13:5. Hebrews 4:8-9 says the rest Joshua gave points to a greater rest. Hebrews 11:30-31 credits Jericho's fall and Rahab's rescue to faith, James 2:25 cites Rahab's works, and Matthew 1:5 names her an ancestor of Jesus. Joshua 21:45 is echoed by Solomon in 1 Kings 8:56. The call to choose in Joshua 24:15 echoes Deuteronomy 30:19 and is heard again in Elijah's challenge (1 Kings 18:21) and Lehi's teaching on agency (2 Nephi 2:27).

Setting

The book opens just after Moses' death, with Israel camped on the plains of Moab east of the Jordan at the end of forty years in the wilderness. The people cross in the spring, in the first month, and make Gilgal near Jericho their base. From there the conquest moves into the central hill country at Ai and Gibeon, sweeps through the south, and then defeats a northern alliance at the waters of Merom. The book compresses these campaigns, but notes that Joshua made war "a long time." After the main fighting, the tabernacle moves to Shiloh in the hill country of Ephraim, and there the land is divided among the tribes. The book closes years later, with Joshua old and gathering Israel first for a farewell charge and then at Shechem for a covenant renewal, before he dies at the age of 110 years. Repeated notes that things remain "unto this day" show it was written down after the events. It was preserved to show how the Lord kept His promise of the land and to call each later generation to stay faithful to the covenant.

People

Joshua, son of Nun, Moses' longtime minister and one of the two faithful spies, leads Israel from the Jordan crossing to his death at 110, never claiming the victories as his own. Caleb, his fellow spy, asks at eighty-five for the hill country of the giants and takes Hebron. Rahab of Jericho hides the spies, confesses the Lord, and is saved with her family. Achan of Judah steals devoted spoil and brings defeat on Israel. The Gibeonites trick Israel into a treaty, are spared, and serve at the altar. Adoni-zedek of Jerusalem and Jabin of Hazor lead the southern and northern alliances against Israel. Eleazar the high priest presides with Joshua over the division of the land, and his son Phinehas leads the delegation over the altar Ed. Othniel wins Caleb's daughter Achsah, who asks her father for springs of water. The daughters of Zelophehad claim the inheritance the Lord promised them through Moses. The tribes of Reuben, Gad, and half of Manasseh keep their pledge to fight before returning east. The Levites receive cities among all the tribes. Moses, though dead, stands behind every command Joshua keeps.

Speakers

The Lord speaks directly to Joshua often in the first half of the book: calling him, guiding the Jordan crossing, giving the plans for Jericho and Ai, promising victory, and telling him how to divide the land. The captain of the Lord's host appears once to Joshua near Jericho. Joshua passes the Lord's words to the officers, priests, and people. Other voices shape key scenes: Rahab and the spies bargain on her roof, Achan confesses to Joshua, the Gibeonite envoys tell their false story, Caleb recalls his promise, the daughters of Zelophehad and the tribes of Joseph make their requests, and Phinehas and the eastern tribes argue over the altar. Several chapters, such as the list of kings and the tribal borders, have no speech at all. As the book closes the Lord's direct voice fades and Joshua's grows. He gives a farewell charge to Israel's leaders, then at Shechem relays the Lord's own first-person review of Israel's history (Joshua 24:2-13) and presses the people in a dialogue until they answer, "The LORD our God will we serve."

Original words

The name Yehoshua, Joshua, means "Jehovah is salvation," and it became Iesous, Jesus, in Greek. The Lord's repeated charge pairs chazaq and amats, "strong" and "courageous," words of firmness and steadiness. Cherem, "accursed thing," and its verb charam, "utterly destroy," mean devoted wholly to God, either given to His treasury or destroyed, never kept for private gain, which is why Achan's theft was sacrilege. Nachalah, "inheritance," is a lasting family possession received rather than earned, and goral, "lot," is the marked stone cast to reveal the Lord's choice. Rest, from the verb nuach, means to settle down in peace and security, the goal of the whole conquest. Dabaq, "cleave," the word for a husband holding to his wife, is how Joshua asks Israel to hold to the Lord (Joshua 23:8). Ed, "witness," names the altar by the Jordan. Miqlat, "refuge," means a place of asylum, and go'el, the "avenger" of blood, is the same word elsewhere rendered redeemer. In Joshua 21:45 the verb behind "failed" is naphal, to fall, so none of His words fell to the ground.

Culture

Canaan was a patchwork of small city-states, each with its own king, which is why Joshua 12 can list thirty-one. Cities stood on mounds built up from earlier settlements, and a destroyed one became a tel, a heap of ruins. Canaanite armies used horse-drawn chariots that ruled the flat valleys, while Israel fought on foot and held the hills. Walking over land was a way of claiming it, and casting lots let God decide disputes without favoritism. Raising standing stones to mark a sacred event or agreement was common, which explains the memorials at the Jordan and Shechem. An oath sworn in a god's name was sacred and binding, so breaking the Gibeonite treaty would have shamed the Lord's name. Families were expected to avenge a killing, and the city gate was where elders heard such cases. Land was meant to stay within a family for generations, which made the case of Zelophehad's daughters so important. Joshua's final covenant follows the shape of ancient treaties: a history of the great king's kindness, the terms owed him, witnesses, and a written record.