Shirk and Khurafat, side by side
Two related but distinct terms — definition, a real example, the consequence, and how to repent, for each. Full detail on every point below.
deen2u — your one-stop center for Islamic resources: the Holy Quran, Hadith, practices, stories of the Prophets, Q&A, and how to practice Islam.
The gravest sin in Islam, the age it grew out of, and the superstitions — old and new — that still echo it. What each one is, real examples, and what to do about it.
Shirk, the three foundations of Tawheed, Jahiliyyah, and 28 cultural khurafat still practiced today, honestly graded against the Sahih collections — an A5 guide.
Two related but distinct terms — definition, a real example, the consequence, and how to repent, for each. Full detail on every point below.
Associating partners with Allah — directing worship, ultimate reliance, or belief in independent power over harm/benefit to anyone or anything besides Him.
Praying to, or sacrificing for, a grave, a saint, or a spirit rather than Allah; believing a fortune-teller's claim about the unseen.
Major shirk (shirk akbar): removes a person from Islam if held with conviction; unforgiven if it stands unrepented at death, Paradise forbidden (Quran 4:48, 5:72). Minor shirk (shirk asghar, e.g. riya): does not remove a person from Islam, but is a serious sin the Prophet ﷺ named as what he feared most for his own companions.
Stop the act, feel genuine regret, resolve never to return, and — for major shirk — renew the shahada sincerely. See the full four-step process below.
Baseless superstition — beliefs and practices that credit an object, ritual, or omen with power that belongs to Allah alone. The living continuation of jahiliyyah's tiyarah.
Wearing a charm believing the object itself wards off harm; avoiding a "cursed" number or date; consulting a bomoh, dukun, or shaman to remove a supposed curse.
There's no fixed worldly punishment (hadd) for khurafat itself — its seriousness depends entirely on what's believed. Trusting an object or ritual as an independent source of power is major shirk; treating it as a bad-luck habit without that conviction is minor shirk or a lesser sin. Either way it's never harmless: see the sahih evidence against it below.
The same process as shirk: stop the practice, remove or discard the item, feel genuine regret, and turn to Allah alone for protection instead (10:107).
Shirk (شرك) means associating partners with Allah — directing any act that belongs to Him alone (worship, ultimate reliance, calling on for help beyond what a creature can do, sacrifice, or the belief that something besides Him independently controls harm or benefit) toward someone or something else. It is the one sin the Quran singles out by name as unforgivable if a person dies upon it, unrepented.
إِنَّ ٱللَّهَ لَا يَغْفِرُ أَن يُشْرَكَ بِهِۦ وَيَغْفِرُ مَا دُونَ ذَٰلِكَ لِمَن يَشَآءُ
"Indeed, Allah does not forgive association with Him, but He forgives what is less than that for whom He wills. And he who associates others with Allah has certainly fabricated a tremendous sin."
Quran 4:48 — near-identical wording repeats at 4:116, closing instead with "has certainly gone far astray."
Note what the ayah actually says: Allah does not forgive shirk while it stands unrepented — every other sin, however serious, remains within the scope of His forgiveness for whoever He wills. Shirk is different in kind, not just degree, because it strikes at the one thing every other act of worship depends on: that it be directed to Allah alone. Tawhid — His absolute oneness — is the foundation the entire religion is built on; shirk is the one crack that can bring the whole structure down.
When Abdullah ibn Mas'ud asked the Prophet ﷺ which sin is greatest in the sight of Allah, the answer began — before murder, before adultery — with shirk: "That you set up a rival unto Allah though He alone created you" (Sahih al-Bukhari 4477). The word is telling: a nidd, a rival — anything given the reliance, hope, fear, or devotion that belongs to the One who made you. And notice the reasoning built into the answer itself: though He alone created you. Shirk isn't only forbidden; it's incoherent — thanking, fearing, or petitioning something that never created anything, while the One who created everything goes unasked.
Scholars organize Tawhid into three foundations. Shirk isn't one uniform error — it's a violation of one or more of these three, and seeing which one is being violated is what separates the mushrikeen's own confused position (they affirmed one foundation while violating another) from complete Tawhid.
Affirming Allah alone as Creator, Sustainer, and Controller of all existence — the one who gives life, death, and provision. Even Makkah's pagans affirmed this much: asked who created the heavens and earth, "they would surely say, 'Allah!'" (Quran 31:25). Affirming Rububiyyah alone does not make someone a believer — it's the floor, not the finish line.
Directing every act of worship — prayer, sacrifice, vows, ultimate reliance, calling upon in need — to Allah alone, with no intermediary. This is exactly where the mushrikeen broke: they worshipped idols not because they doubted Allah made the heavens, but "only that they may bring us nearer to Allah in position" (Quran 39:3) — intermediaries they believed would carry their worship upward. Uluhiyyah is the specific point the shahada, la ilaha illallah, addresses.
Affirming Allah's own names and attributes exactly as He described them in the Quran and authentic Sunnah — without distorting their meaning, denying them, asking "how," or likening them to creation. "There is nothing like unto Him" (42:11); "To Allah belong the best names, so call on Him by them" (7:180).
Nearly every example on this page traces back to a violation of Uluhiyyah specifically — worship, reliance, or an appeal for help directed somewhere other than Allah, by someone who may well affirm Rububiyyah without any difficulty at all. That's precisely why the Quran spends so little of its argument against shirk trying to prove Allah exists (the mushrikeen didn't deny that) and so much of it insisting that worship itself belongs to Him, and Him alone.
Scholars divide shirk into two categories, by how completely it breaks a person's tawhid.
إِنَّ أَخْوَفَ مَا أَخَافُ عَلَيْكُمُ الشِّرْكُ الأَصْغَرُ
The Prophet ﷺ was asked about minor shirk, and said: "Riya (showing off) — Allah will say to such people on the Day of Resurrection, when they are recompensed for their deeds: Go to those for whom you were showing off in the world, and see if you find any reward with them." The thing he ﷺ feared most for his companions was exactly this — minor shirk.
Narrated by Mahmud ibn Labid, Musnad Ahmad (hasan isnad)
Beyond textbook idol-worship, shirk shows up wherever worship or ultimate reliance gets redirected — sometimes obviously, sometimes in ways that slip in disguised as tradition or caution.
Praying to, prostrating before, or sacrificing an animal in the name of a grave, a saint, a spirit, or any created thing — the exact act of worship owed to Allah alone, given to someone else.
Asking a deceased person, a "wali," or a spirit for help in matters only Allah controls — provision, healing, protection from harm — rather than turning to Allah and asking Him.
Wearing an amulet, charm, or talisman in the belief that the object itself wards off harm or brings luck — as opposed to asking Allah for protection, which He alone grants (see Khurafat, below).
Visiting a soothsayer, astrologer, or psychic and believing their claims about the unseen (al-ghayb) — knowledge the Quran reserves for Allah alone (27:65).
Following a person's command over Allah's clear ruling, or loving someone or something with the total devotion owed only to Allah — a subtler shirk of the heart rather than the limbs.
Praying, giving charity, or reciting Quran more visibly, or only, when being watched — minor shirk, covered above.
إِنَّهُۥ مَن يُشْرِكْ بِٱللَّهِ فَقَدْ حَرَّمَ ٱللَّهُ عَلَيْهِ ٱلْجَنَّةَ وَمَأْوَىٰهُ ٱلنَّارُ ۖ وَمَا لِلظَّـٰلِمِينَ مِنْ أَنصَارٍۢ
"Indeed, he who associates others with Allah — Allah has forbidden him Paradise, and his refuge is the Fire. And there are not for the wrongdoers any helpers."
Quran 5:72
Read together with 4:48, the picture is consistent, not contradictory: Allah forgives every sin He wills except shirk that a person carries, unrepented, to their death. Someone who commits shirk and then sincerely repents — while still alive — is not held to this warning; repentance is exactly what changes the outcome. The severity of the warning is itself the mercy: it exists to make a person turn back before it's too late, not to declare anyone beyond hope while they still draw breath.
The warning has an exact mirror, and the texts state both sides together. "Whoever dies while still invoking anything other than Allah as a rival to Allah will enter Hell" — and, as Ibn Mas'ud completed it, whoever dies invoking no rival to Allah enters Paradise (Sahih al-Bukhari 4497). Jabir narrates the same pairing directly from the Prophet ﷺ: "He who dies without associating anyone with Allah would enter Paradise," and he who dies associating anything with Him enters the Fire (Sahih Muslim 93a). The decisive question, in the end, is what a person is carrying at death — which is exactly why repentance, open until then, matters so much.
Allah's door for repentance is described in the Quran as open to anyone, for anything, while they're alive:
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ تُوبُوٓا۟ إِلَى ٱللَّهِ تَوْبَةًۭ نَّصُوحًا
"O you who have believed, repent to Allah with sincere repentance [tawbatan nasuha]. Perhaps your Lord will remove from you your misdeeds and admit you into gardens beneath which rivers flow…"
Quran 66:8
Scholars draw the conditions of sincere tawbah from this ayah and the wider Quran and Sunnah together, rather than from one single itemized hadith:
Leave the specific shirk immediately — no repentance is sincere while the act continues.
Real remorse over having committed it, not just embarrassment at being seen.
A firm intention going forward — not a plan to repeat it later.
If the shirk was major (shirk akbar), affirm la ilaha illallah anew, meaning it — the same sentence that first brought a person into Islam restores it.
Jahiliyyah (الجاهلية) — usually translated "the age of ignorance" — is how the Quran and early Muslims described pre-Islamic Arabia: not ignorance of facts, but of guidance. Shirk was its default, not an exception — the Kaaba itself, built by Ibrahim and Isma'il for the worship of Allah alone, had filled with idols by the time of the Prophet ﷺ. When Makkah was conquered, he ﷺ found 360 idols surrounding it.
"Narrated `Abdullah:When the Prophet (ﷺ) entered Mecca on the day of the Conquest, there were 360 idols around the Ka`ba. The Prophet (ﷺ) started striking them with a stick he had in his hand and was saying, "Truth has come and Falsehood will neither start nor will it reappear"
Narrated by Abdullah ibn Mas'ud, Sahih al-Bukhari 4287
Idolatry was the headline, but jahiliyyah was a whole social order built without revealed guidance — and Islam didn't just correct belief, it dismantled specific, named practices, one by one.
Baby girls, seen as a source of shame or a coming burden, were sometimes buried alive.
A killing could ignite generations of retaliatory violence between tribes, with no path to close the cycle.
Interest-based debt could compound without limit, trapping people in permanent servitude to a creditor.
Women could be inherited as property, denied any share of inheritance themselves, and married or divorced with no say.
Everyday decisions were steered by the flight of a bird, an animal crossing one's path, or an unlucky name or day.
The house built for the worship of Allah alone had filled with 360 idols by the Prophet's ﷺ time.
"All the blood feuds of the Ignorance days are abolished, and the first of them that I abolish is the blood feud of Harith bin 'Abdul-Muttalib, who was nursed among Banu Laith and killed by Hudhail. All the usuries of the Ignorance days are abolished, but you will have your capital."
Narrated by Sulaiman ibn 'Amr ibn al-Ahwas, from his father — Sunan Ibn Majah 3055
"Take note! All the merits mentioned in pre-Islamic times, and the claim made for blood or property are under my feet, except the supply of water to the pilgrims and the custody of the Ka'bah."
Narrated by Abdullah ibn Amr, Sunan Abi Dawud 4547
Why did Islam come, specifically, into this setting? Not because jahiliyyah Arabia was uniquely wicked among human societies, but because the same disease — worship, security, and justice sought anywhere except from Allah — takes a different costume in every age. Removing idols from around the Kaaba corrected the visible symptom; abolishing blood-feuds, riba, and infanticide by the same sermon corrected what shirk in belief produces in a society once it's left unchecked: people trusting tribe, wealth, and custom for the safety and justice only Allah can truly guarantee. Jahiliyyah is a historical period — but the Quran and hadith use the word beyond that period too, as a standing warning: any time belief, law, or custom is built without submission to Allah's guidance, that same underlying pattern can return, in new clothes.
Khurafat (خرافات) is the Arabic word for baseless superstition — beliefs and practices that credit an object, a ritual, or an omen with power that belongs to Allah alone. It's the direct continuation of jahiliyyah's tiyarah into the present day, and it sits right at the boundary of minor and major shirk depending on what, exactly, is believed.
لَا عَدْوَىٰ وَلَا طِيَرَةَ
"No 'adwa [contagion apart from Allah's will], nor tiyarah [superstitious omens] — but I like the good omen, the good word."
Narrated by Anas ibn Malik, Sahih al-Bukhari 5756
This is a sahih, direct rejection of superstition as a governing force in a Muslim's life — replaced with something almost the opposite in spirit: a fondness for good words and good expectation of Allah, not fear of a bad sign.
"Whoever visits a fortune-teller ['arraf] and asks him about anything, his prayer will not be accepted for forty nights."
Narrated by some of the Prophet's ﷺ wives, via Safiyyah — Sahih Muslim 2230a
"Whoever … goes to a fortuneteller and believes what he says, he has disbelieved in that which was revealed to Muhammad ﷺ."
Narrated by Abu Hurairah, Sunan Ibn Majah 639 / Jami' at-Tirmidhi 135
The two-tier warning is precise and worth reading closely: visiting a fortune-teller is enough to cost forty nights of accepted prayer, on a sahih hadith — a real cost, for mere curiosity. Believing what one says is graded more severely still (though on a hasan, not sahih, chain) — disbelief in what was revealed, because it treats a human being as having access to al-ghayb, the unseen, which the Quran reserves for Allah alone (27:65). Horoscopes, zodiac readings, and psychics fall under this same ruling today, whatever form they take.
"Ruqyah [incantations invoking other than Allah], amulets, and tiwalah [love-charms] are shirk."
Narrated via Zainab from Abdullah ibn Mas'ud, Sunan Abi Dawud 3883 — graded sahih by al-Albani (also as-Silsilah as-Sahihah 331). The specific chain Sunan Ibn Majah records (3530) is graded da'if by Darussalam, but the hadith is authentic through this stronger route.
Here's the honest detail: the chain Ibn Majah records for this hadith (Sunan Ibn Majah 3530) is graded da'if by Darussalam — but the same hadith reaches us through a stronger route, Sunan Abi Dawud 3883, graded sahih by al-Albani. So the prohibition does not rest on a weak narration: the authentic route, the sahih no-tiyarah principle above, and the Quran's own insistence that harm and benefit belong to Allah alone (10:107) all point the same way. Most scholars prohibit or strongly discourage amulets on these combined grounds; where genuine disagreement remains is the narrower case of amulets containing only Quran, which some of the salaf permitted and others refused — ask a knowledgeable local scholar.
None of this is unique to one culture — every society has its own inherited superstitions, and Muslim-majority regions are not exempt. Grouped below by category, spanning both globally common practices and ones specific to Malay-Indonesian folk custom, since that's a large part of deen2u's readership. The common thread in every item: crediting an object, a person, or a ritual with power that belongs to Allah alone.
Bar chart of the 28 khurafat items on this page, grouped into six categories: protective charms and amulets (6 items), fortune-telling and divination (5), folk healers and magic practitioners (4), everyday omens and superstitions (5), reverence of objects, graves and heirlooms (4), and modern and digital khurafat (4).
"But it's just tradition — harmless fun." This is the most common objection, and it's worth answering directly rather than skipping past. Two things can both be true: a practice can feel entirely secular and habitual to the person doing it, and still rest on a belief — however faint or half-serious — that something other than Allah is exerting real power over an outcome. The sahih hadith on tiyarah above doesn't carve out an exception for practices done "just in case" or "for fun, not really believing it" — the Prophet ﷺ rejected the entire category of omen-following outright, precisely because a habit repeated without correction tends to calcify into the very belief it started as a joke about. The test isn't how seriously a person says they take it; it's whether, if pressed honestly, they'd feel a flicker of unease ignoring the ritual "just to see what happens." That flicker is the tell.
Small objects, papers, or inscriptions worn or kept believing they personally ward off harm, illness, or black magic.
Nazar boncuk, hamsa hands, and similar charms worn believing the object itself deflects envy or harm.
Tied on for luck or protection, credited with power independent of Allah's will.
Kept or hung believing the object brings luck or wards off misfortune.
Worn or placed believing the stone itself channels protective or healing power.
Hung believing the object itself filters or blocks bad dreams or spirits.
Read daily and believed to predict or influence personality, luck, or the day ahead.
Consulted for insight into the future or the unseen — al-ghayb, which the Quran reserves for Allah alone (27:65).
The same fortune-telling ruling applies regardless of format — an app or a paid hotline is no different from a soothsayer in a tent.
Treating a name's or birthdate's numeric value as governing fate or compatibility.
Arranging objects or spaces specifically to attract fortune or deflect misfortune, as opposed to ordinary aesthetic or practical arrangement.
Traditional folk healers or shamans consulted to cure illness, reverse a curse, or secure a specific outcome (love, success, protection) through non-Quranic ritual.
Small needles or objects believed to be magically inserted under the skin for beauty, charisma, or invulnerability.
Believing illness or misfortune was caused by another person's magic, and seeking a counter-ritual (rather than medical care and dua) to remove it.
Anyone claiming to know unseen causes of a problem or a person's fate outside of legitimate ruqyah from the Quran.
A black cat crossing one's path, a broken mirror ("seven years' bad luck"), or walking under a ladder, treated as governing what follows.
13 in Western custom, 4 in some East Asian custom (homophone for "death") — dates, floors, or numbers avoided as inherently unlucky.
Small rituals performed believing they change an outcome, however habitual or "harmless" they feel.
Everyday actions treated as omens requiring a counter-ritual (throwing salt over a shoulder) to undo.
Choosing a date or time based on non-Islamic astrological "auspiciousness" rather than practicality.
Inherited weapons or objects believed to carry their own supernatural power or protective spirit, kept and revered on that basis.
Rice, flowers, or food left for spirits or a deceased person's blessing, rather than the sunnah practice of visiting a grave simply to pray for the deceased.
Different from the permitted visiting and praying for the dead covered on Visiting Graves — asking a grave itself for provision, healing, or intercession crosses into major shirk.
Selamatan-style offerings made specifically to pacify a place-spirit or ancestor, rather than ordinary charity or a shared meal with no such belief attached.
Believing sheer belief or visualization alone bends outcomes into reality, independent of Allah's will and decree (qadar) — as opposed to dua, effort, and tawakkul (reliance on Allah).
Forwarding a message, image, or post specifically because ignoring it is believed to invite misfortune — tiyarah in a new format.
Digital "prosperity" wallpapers, ringtones, or in-app talismans trusted the same way a physical amulet is trusted.
The same fortune-telling ruling covered above, now delivered as a daily push notification rather than a soothsayer's tent.
Shirk redirects worship away from Allah; but a second, quieter error runs alongside it — adding into worship things the Prophet ﷺ never brought. Not every unfamiliar practice is shirk, and not every one is harmless custom either. The Sunnah draws a clear line, and knowing where it falls is what keeps sincerity from drifting into invention.
مَنْ أَحْدَثَ فِي أَمْرِنَا هَذَا مَا لَيْسَ مِنْهُ فَهُوَ رَدٌّ
"Whoever introduces into this affair of ours something that is not part of it, it is rejected."
Narrated by Aisha — Sahih al-Bukhari 2697, Sahih Muslim 1718. Scholars call this hadith "half the religion," because it weighs every act of worship: no valid warrant, no acceptance.
وَشَرَّ الأُمُورِ مُحْدَثَاتُهَا وَكُلُّ بِدْعَةٍ ضَلَالَةٌ
"The best speech is the Book of Allah, and the best guidance is the guidance of Muhammad ﷺ. The worst affairs are those newly invented; and every innovation [bid'ah] is misguidance."
Narrated by Jabir ibn Abdullah — Sahih Muslim 867. The fuller warning — "every newly-invented matter is bid'ah, and every bid'ah is misguidance" — also comes from al-Irbad ibn Sariyah, Sunan Abi Dawud 4607 (graded sahih).
Here is the principle the salaf worked from, and it resolves most confusion at a stroke: acts of worship are tawqifi — established only by revelation. Nobody prays, fasts, gives, or draws near to Allah by an act until Allah and His Messenger ﷺ have prescribed it. So the default in worship ('ibadah) is prohibition until a text permits it. The default in ordinary custom ('adah) — food, dress, work, language, the shape of daily life — is the reverse: permission until a text forbids it. Get these two backwards and everything blurs: people start forbidding harmless custom as "un-Islamic," while inventing new worship and calling it devotion. The Sunnah is already complete — "This day I have perfected for you your religion" (Quran 5:3) — so adding to it, however sincerely meant, quietly implies it was lacking.
Worship the Prophet ﷺ taught and practiced: the five prayers, witr, fasting Ramadan, the authentic adhkar. Has a clear basis in Quran or authentic Sunnah.
Neutral worldly habit with no worship attached — a wedding feast, regional dress, a language, a cuisine, an inherited craft. Not claimed to earn reward before Allah.
A newly-invented act done as worship, believed to draw one nearer to Allah, with no basis in Quran or Sunnah — a fixed dhikr count no text gave, a manufactured "sunnah" rite, an extra rak'ah.
Directing the act of worship itself — du'a, a vow, a sacrifice, ultimate reliance — to anyone besides Allah: a grave, a "wali," a spirit, a star.
The last two are where the gravest of these practices live — and the Quran names the three acts most often misdirected: supplication, vows, and sacrifice. Each belongs to Allah alone.
وَأَنَّ ٱلْمَسَاجِدَ لِلَّهِ فَلَا تَدْعُوا۟ مَعَ ٱللَّهِ أَحَدًا
"And the places of worship are for Allah [alone], so do not invoke anyone along with Allah."
Quran 72:18
قُلْ إِنَّ صَلَاتِي وَنُسُكِي وَمَحْيَايَ وَمَمَاتِي لِلَّهِ رَبِّ ٱلْعَـٰلَمِينَ لَا شَرِيكَ لَهُۥ
"Say: Indeed my prayer, my sacrifice [nusuk], my living and my dying are for Allah, Lord of all worlds. He has no partner…"
Quran 6:162–163 — nusuk here means sacrifice and rites of drawing near. A vow (nadhr) or animal offered in a saint's or spirit's name falls under the same verse: major shirk. The mushrikeen who kept idols did so only "that they may bring us nearer to Allah" (39:3) — the very excuse the Quran rejects.
Below that line of major shirk sit lesser but real errors — and a set of specific practices the Prophet ﷺ named and left behind, none of which are "just culture." Each is graded honestly, and each has a sound replacement.
"By the Prophet," "by my life," "by your head." The Prophet ﷺ said: "Whoever swears by other than Allah has committed kufr or shirk" — a lesser shirk of the tongue, not exit from Islam, but named plainly. Jami' at-Tirmidhi 1535 — hasan (Tirmidhi), sahih (al-Hakim). Instead: swear only by Allah, or by His names and attributes.
Worship performed to be seen or praised — the minor shirk the Prophet ﷺ feared most for his companions, covered in full above. Instead: guard sincerity (ikhlas); worship the same whether watched or alone.
Slapping the cheeks, tearing clothes, and the ritual wailing of jahiliyyah: "He who slaps his cheeks, tears his clothes and follows the ways and traditions of the Days of Ignorance is not one of us." Narrated by Ibn Mas'ud — Sahih al-Bukhari 1294. Quiet tears and sorrow are not blamed — the lament and self-harm are. Instead: patience, du'a for the deceased, "innā lillāhi wa innā ilayhi rāji'ūn."
"Allah's Messenger ﷺ forbade that graves be plastered, that they be sat upon, or that structures be built over them." Narrated by Jabir — Sahih Muslim 970. The ruling guards the very door that grave-veneration slips through into shirk. Instead: simple, level graves; visit only to pray for the dead (see Visiting Graves), never to petition them.
Attributing an outcome to a star or constellation as its cause. In a hadith qudsi, whoever said "we were given rain by such-and-such star" is "a disbeliever in Me, a believer in the star." Narrated by Zaid ibn Khalid al-Juhani — Sahih al-Bukhari 846, Sahih Muslim 71. Instead: "we were given rain by the grace and mercy of Allah." Modern horoscopes fall under the same principle (see Khurafat).
None of this is about policing culture — a people's food, dress, poetry, and festivals of the permitted kind are theirs to keep, and Islam never asked anyone to shed them. The test is narrow and consistent: is an act of worship being invented, or is worship being aimed somewhere other than Allah? Where the answer is no, custom is free. Where it is yes, the Prophet ﷺ already gave the sound alternative — and everything he left out, he left out on purpose.
← Back to Aqeedah — the Six Articles of Faith
A 1080×1920 image made for phone screens — Stories, Status, Reels. It carries the heading and the link back here, so whoever you send it to can read the whole thing.
On a phone you can also long-press the poster and choose Save image. Every poster is on the poster page. Free to share — no attribution needed.