Our readers keep the lights on and my morning glass full of iced black tea. As an Amazon Associate, I earn from qualifying purchases.9 Best Affordable Mattress For Side Sleepers

The wrong mattress turns side sleeping into a nightly battle between a numb shoulder and an aching hip. A mattress that is too firm leaves your shoulder unsupported and forces your spine out of alignment. One that is too soft lets your hips sink so deep that your lower back twists into a painful arc. The right affordable mattress delivers enough pressure relief to cradle your shoulders while keeping enough support to lift your hips into neutral spinal alignment.

I’m Mohammad Maruf — the founder and writer behind Gardening Beyond. I research and compare specifications across dozens of bed-in-a-box models, study the interplay between foam density and zoned spring systems, and analyze aggregated owner feedback to identify the mattresses that deliver genuine pressure relief for side sleepers without demanding a luxury budget.

After sorting through nine models that landed at the intersection of affordability and targeted support, the list below represents the most effective picks. This is your complete guide to finding the best affordable mattress for side sleepers that actually supports proper spinal alignment without breaking your budget.

How To Choose The Best Affordable Mattress For Side Sleepers

The side sleeping position demands a mattress that does two opposing things simultaneously: conform around your shoulder and hip to eliminate pressure points, yet lift under your waist to keep the spine level. The wrong pick leads to morning stiffness, arm numbness, or chronic lower back pain. Here is what matters most when shopping for an affordable mattress that actually delivers for side sleepers.

Firmness Level and the Medium Firm Sweet Spot

For side sleepers, firmness is everything. A mattress that is too firm acts like a door against your shoulder, creating a gap between your neck and the bed that forces your spine out of alignment. A mattress that is too soft lets your heavy hip sink like a stone, tilting your pelvis and twisting your lower back. Most side sleepers gravitate toward a medium firmness rating (around 5 to 7 on the 10-point firmness scale) because it provides enough give at the shoulder while maintaining lift at the hips. Heavier body types may need a medium-firm pick that resists deeper sinkage, while lighter frames often prefer a medium feel that contours without resisting.

Zoned Support vs. Uniform Support

Standard mattresses apply the same support across every inch of the surface. That uniformity creates a problem for side sleepers because the shoulder needs less pressure and the hip needs more lift. Zoned support mattresses solve this by engineering different response levels into the shoulder zone (softer) and the lumbar-to-hip zone (firmer). Some models achieve this with varying foam densities, others with pocket spring systems that use different coil gauges across the mattress. Either approach prevents the shoulder from being crushed and the hip from sinking out of position.

Cooling Performance in Memory Foam

Memory foam contours beautifully to pressure points, which is exactly what side sleepers need. But standard memory foam traps body heat. Side sleepers who already struggle with pressure pain do not need the added misery of sleeping hot. Look for gel-infused foam layers, breathable knit covers, and open-cell foam structures that promote airflow. Phase-change materials (PCM) in the cover can also help, as they absorb excess heat away from the body and release it when the surface cools. Models that combine gel memory foam with a ventilated cover are the best bet for side sleepers who sleep warm.

Motion Isolation for Partners

When you sleep on your side, you are often in a position that makes you more sensitive to partner movement. A restlessly shifting partner can wake you through the mattress if motion transfer is high. Memory foam excels here, absorbing vibrations before they travel across the surface. Hybrid models with pocket springs also perform well because each coil moves independently. Side sleepers sharing a bed should prioritize models that explicitly advertise low motion transfer, especially if their partner tends to change positions during the night.

Trial Period and Warranty

A mattress for side sleeping is not something you can evaluate in a store showroom for five minutes. Your body needs several nights to determine whether the pressure relief works. The best affordable models offer at least 100-night trial periods, and many extend to 365 nights. That gives you enough time to assess whether hip and shoulder pain actually subsides. A 10-year warranty is standard at this price point, but pay attention to what the warranty covers — sagging beyond a certain depth is what usually triggers a claim, and deeper foam densities are more likely to last the full decade without developing a permanent dip in the hip zone.

Quick Comparison

On smaller screens, swipe sideways to see the full table.

Model Category Best For Key Spec Amazon
BedStory Hybrid (Product 2) Hybrid Zoned lumbar support with responsive coils 14-in thickness, pocket coil system Amazon
Marsail Gel Memory Foam Memory Foam Budget-friendly pressure relief with cooling gel 10-in depth, gel memory foam Amazon
FATHOM Gel Memory Foam Memory Foam Motion isolation for couples 12-in depth, AeroFusion gel foam Amazon
Zinus Green Tea Memory Foam Memory Foam Freshness and odor resistance 12-in depth, green tea & charcoal infusion Amazon
Novilla Gel Memory Foam Memory Foam Medium plush feel for lighter side sleepers 12-in depth, triple foam layers Amazon
BedStory Hotel Collection Hybrid Hybrid Targeted shoulder and hip support 14-in thickness, gel memory foam + pocket coil Amazon
Novilla Bliss Cooling Memory Foam Hot sleepers needing active cooling 14-in depth, cool-touch nylon cover Amazon
Sweetnight CoolNest Memory Foam Five-zone pressure distribution 14-in depth, PCM cooling foam Amazon
Sealy Dreamlife Gel Foam Plush comfort from a major brand 12-in depth, SealyComfort gel memory foam Amazon

In‑Depth Reviews

Best Overall

1. BedStory 14-Inch Medium Firm Queen Hybrid Mattress

Pocket CoilZoned Support

The BedStory hybrid hits the exact spec combination that side sleepers need: a medium firm feel supported by independent pocket springs. Each spring moves separately, so your shoulder receives a gradual contour while your hip gets more resistance. The 14-inch profile includes a high-density base layer that prevents bottoming out, which is critical for side sleepers who worry about the mattress sagging in the hip zone over time. Multiple owner reviews specifically note that the spring system provides a buoyant “lift” that keeps the spine aligned without feeling rigid.

Pressure point relief is where this mattress separates itself from uniform-foam competitors. The upper comfort layer is a soft memory foam that absorbs shoulder tension, and the zonal spring support below it keeps the lumbar area from collapsing. Side sleepers who previously woke with shoulder or hip pain report that the BedStory eliminated those aches within the first week. The 365-night trial and 10-year warranty also reduce the risk of this purchase — you have a full year to decide if the medium firm profile works for your specific body weight and shoulder width.

Breathability is another strong point. The fabric cover and the open structure of the pocket coil system allow air to circulate through the mattress, pulling heat away from the body. The foam layers are CertiPUR-US and Oeko-Tex certified, and reviewers consistently mention that odor was minimal or nonexistent after unboxing. The mattress does take the full 48 to 72 hours to reach its complete shape, but owners report that the final 14-inch thickness delivers noticeable edge support and a stable sleeping surface.

What works

  • Pocket spring system provides targeted shoulder contour and hip lift for side sleepers
  • 365-night trial and 10-year warranty reduce purchase risk
  • Excellent motion isolation for couples despite being a hybrid model

What doesn’t

  • Full expansion requires 72 hours which delays initial use
  • Heavier side sleepers above 230 pounds may prefer a firmer variant
Premium Comfort

2. BedStory Hotel Collection 14-Inch Medium Firm Hybrid Queen Mattress

Gel Memory Foam7-Zone Support

The Hotel Collection BedStory takes the hybrid formula one step further by engineering a 7-zone coil support system. The zones correspond to seven parts of the body — feet, legs, hips, waist, shoulders, neck, and head — each receiving a different degree of spring resistance. For side sleepers, the shoulder and waist zones are the most important, and this mattress explicitly softens the response at the shoulder area while stiffening the support around the waist and hips. One verified owner who describes himself as a side sleeper with a bad back reports that the foam cradles and the springs support, eliminating morning stiffness after a six-month break-in period.

The cover fabric is a knit material treated with moisture-wicking properties, and the gel memory foam layer sits above the pocket springs to prevent overheating. The mattress is fiberglass-free and carries CertiPUR-US and Oeko-Tex certifications, which is reassuring for side sleepers who spend extended contact hours with the surface. Owners frequently mention that the mattress is initially firm and noticeably softens over the first month. Side sleepers should factor this break-in window into their decision — the mattress sleeps slightly stiffer out of the box but relaxes into the ideal medium firm feel within weeks.

Edge support is better than most all-foam models because the pocket coil system extends to the perimeter. That makes it easier to sit on the edge while getting dressed or to use the full surface area without sliding off. The 14-inch profile accommodates deep pocket sheets easily. The 365-night trial and 10-year warranty mirror the standard BedStory policy, giving side sleepers more than enough time to evaluate whether the zoned coil system resolves their shoulder pressure issues.

What works

  • 7-zone coil system delivers distinct shoulder and hip response levels
  • Hybrid construction provides strong edge support and airflow
  • Fiberglass-free and certified for health safety

What doesn’t

  • Break-in period requires patient adjustment for first few weeks
  • Higher weight than foam-only models makes repositioning harder
Cooling Champ

3. Sweetnight CoolNest 14-Inch Queen Memory Foam Mattress

PCM Foam5-Zone Support

Side sleepers who also sleep hot face a double challenge: memory foam relieves pressure but often traps heat. The Sweetnight CoolNest directly addresses this with a PCM (phase-change material) high-resilience foam layer that absorbs body heat when the surface gets warm and releases it when the surface cools down. The cover uses 3D-woven technology with ventilation pores that the company claims improve breathability by 35 percent. Combined, these cooling features produce a mattress that multiple owners describe as genuinely cool to the touch — one cEDS patient reports no sweating whatsoever despite severe joint pain that usually causes temperature sensitivity.

The 5-zone ergo support system is specifically engineered to cushion pressure areas from head to toe. For side sleepers, zones 2, 3, and 4 (shoulder, lumbar, and hip) are the critical zones, and this mattress uses different foam densities within each zone to provide softer give at the shoulder and firmer resistance at the hip. The mattress is ACA certified for comfort and support. Owner feedback consistently highlights that the motion isolation is excellent and that the cooling effect persists throughout the night without fading.

Setup is straightforward — the 14-inch queen expands to full shape within roughly 24 hours based on owner reports, though Sweetnight recommends allowing 72 hours. The mattress is CertiPUR-US certified and uses fiberglass-free construction. The only trade-off for side sleepers is that the medium firmness rating may feel slightly firmer to lighter individuals (under 130 pounds) who need deeper shoulder contour. A quality mattress pad or topper can address this if the initial feel is a touch too resistant for lighter frames.

What works

  • PCM foam and ventilated cover deliver active cooling for hot sleepers
  • 5-zone foam design targets shoulder and hip pressure points separately
  • ACA certification for spinal alignment provides clinical validation

What doesn’t

  • Lighter side sleepers may find the medium feel slightly too firm
  • Full expansion requires up to 72 hours
Ice Touch

4. Novilla 14-Inch Queen Gel-Infused Bliss Cooling Memory Foam Mattress

Cool-Touch CoverTriple Foam

The Novilla Bliss Cooling mattress stands out for its dual-layer cooling strategy. The cover is made from a cool-touch Nylon fabric blended with 30 percent plant-infused fiber that feels cool immediately upon contact. Underneath, the NanoGEL memory foam layer enhances airflow to prevent heat accumulation. For side sleepers who avoid memory foam because of past overheating issues, this model offers a legitimate solution. Verified owners consistently report that the mattress stays cool all night and that the cooling effect does not fade after the first hour.

The triple-layer foam system includes a high-density support base that prevents the hip from sinking too deeply, a responsive cushioning layer for contour, and the gel memory foam on top for pressure relief. This structure is well-suited for side sleepers with back pain because it distributes weight evenly across the shoulder and hip zones. Owner reviews note that morning body aches disappeared after switching to this mattress, and that the medium firm feel provides enough contour without excessive sinkage.

The Novilla is triple-certified with CertiPUR-US, Oeko-Tex, and ISPA approval, making it a safe option for side sleepers concerned about off-gassing or chemical exposure. The 14-inch height gives it a substantial look on most bed frames, and the reinforced edges prevent roll-off sensation. The 100-night trial and 10-year warranty provide adequate coverage for evaluating pressure relief performance. The main consideration is that the cool-touch cover is most effective when used without a thick mattress protector, so side sleepers who prefer heavy bedding may need to adjust.

What works

  • Cool-touch Nylon cover provides instant surface cooling for hot sleepers
  • Triple foam layers balance shoulder contour and hip support
  • Triple certification ensures foam safety and low emissions

What doesn’t

  • Cool-touch effect is strongest without a thick mattress protector
  • Some side sleepers may want a trial period longer than 100 nights
Great Value

5. FATHOM 12-Inch Gel Memory Foam Queen Mattress

AeroFusion GelRemovable Cover

The FATHOM mattress uses AeroFusion gel memory foam specifically engineered to avoid the temperature sensitivity that plagues cheaper foam. This gel formula remains responsive regardless of room temperature, so the mattress does not stiffen in a cold bedroom or turn into quicksand on a warm night. For side sleepers, that consistency matters because a mattress that changes firmness with the seasons will disrupt the delicate balance between shoulder contour and hip support. The medium firmness rating is well-calibrated for most side sleepers, and the breathable jacquard cover with graphene yarn borders adds a premium aesthetic at a mid-range price point.

Motion isolation is excellent due to the all-foam construction. The dynamic memory foam layer absorbs movement before it travels to the partner’s side, and the dense support foam prevents the mattress from bouncing. Couples sharing a bed will appreciate that changing sleep positions does not ripple across the surface. The FATHOM also includes a removable zippered cover, which makes cleaning the mattress surface easier and extends the life of the foam core by protecting it from dust and spills.

The mattress is CertiPUR-US and Oeko-Tex certified, fiberglass free, and built in the USA. Owner feedback highlights the balance between comfort and support, with multiple reviewers noting that it aligns the spine and relieves lower back pain without feeling too plush. Setup is fast — most owners report that the mattress expands to full shape within a few hours, though FATHOM recommends 72 hours. The 12-inch profile works with most standard sheets but side sleepers who want a deeper sleeping surface for easier entry and exit may prefer a 14-inch model.

What works

  • AeroFusion gel foam stays temperature-neutral across different room conditions
  • Removable zippered cover simplifies cleaning and prolongs foam life
  • Exceptional motion isolation for undisturbed side sleeping

What doesn’t

  • 12-inch height may feel low for users who prefer a taller mattress profile
  • Heavier side sleepers may want a hybrid with coil support for extra durability
Fresh Sleep

6. Zinus Green Tea Memory Foam 12-Inch Queen Mattress

Green Tea InfusionCharcoal Layer

Zinus has been a dominant name in the affordable mattress space for years, and the Green Tea model remains one of the most popular options for side sleepers. The key differentiator is the infusion of green tea extract and purified charcoal into the foam. This combination actively neutralizes odors and keeps the mattress surface fresh over time. For side sleepers, the immediate benefit is that the initial off-gassing smell is milder and dissipates more quickly — most owners report the smell completely clears within 24 to 48 hours, which is faster than many competing foam mattresses.

The patented zoned pressure relief foam is the feature that benefits side sleepers most directly. The top layer contours to the shoulder and hip with enough give to prevent pressure points, while the high-density base foam provides structural support that prevents the hip zone from collapsing. The medium firm feel sits in the Goldilocks zone for most side sleepers — firm enough to keep the spine aligned, soft enough to cushion the shoulder. At 12 inches, the mattress is compatible with almost any bed frame, platform base, or adjustable base.

Some side sleepers should be aware that the firmness of this mattress depends on room temperature. One owner explicitly notes that the mattress softens significantly in warm weather and firms up noticeably when the room is cold. This temperature sensitivity is more pronounced than with gel-infused alternatives. Side sleepers in climates with dramatic seasonal temperature swings may experience inconsistent support. The mattress is CertiPUR-US and Oeko-Tex certified, fiberglass free, and backed by a 10-year limited warranty.

What works

  • Green tea and charcoal infusion minimize off-gassing and keep the surface fresh
  • Zoned pressure relief foam targets shoulder and hip pressure points effectively
  • Widely compatible with bed frames, platform beds, and adjustable bases

What doesn’t

  • Firmness changes noticeably with room temperature due to memory foam sensitivity
  • Edge support is weaker than hybrid alternatives
Plush Feel

7. Novilla 12-Inch Gel Memory Foam Queen Mattress

NanoGEL FoamACA Certified

This Novilla model is rated medium plush, which makes it a strong candidate for side sleepers who prefer a softer feel without losing spinal support. Many side sleepers with lighter body frames (under 150 pounds) find that standard medium firm mattresses resist their shoulder too aggressively. The medium plush designation of the Novilla provides extra give at the shoulder zone while the high-density support foam underneath prevents the hip from sinking too deep. The triple-layer system includes NanoGEL memory foam for surface contouring, a responsive comfort foam transition layer, and a durable support base.

The mattress carries ACA certification for comfort and support, which is an independent validation that side sleepers can use as a shortcut when comparing dozens of options. The breathable knitted cover and gel infusion work together to keep the surface from overheating, which is a legitimate concern with any plush foam mattress. Owners with fibromyalgia report that the pressure relief eliminates morning pain, and one reviewer describes the Novilla as feeling comparable to a mattress that costs eight times as much. The CertiPUR-US and Oeko-Tex certifications reinforce that the softer feel does not come from using lower-quality foam.

Motion isolation is strong due to the fully foam construction. The 12-inch profile fits standard fitted sheets without issues. The Novilla arrives compressed in a box and typically reaches full shape within 72 hours. The 100-night trial provides enough time for side sleepers to assess whether the medium plush feel supports their specific weight distribution. The primary downside is that heavier side sleepers (above 200 pounds) may find the medium plush feel allows too much sinkage in the hip area over time, potentially leading to spinal misalignment.

What works

  • Medium plush feel provides extra shoulder cushion for lighter side sleepers
  • ACA certification validates spinal alignment performance
  • Gel infusion and knitted cover prevent overheating common in plush foam

What doesn’t

  • Heavier side sleepers may experience excessive hip sinkage over time
  • 100-night trial is shorter than some competitors offering 365 nights
Trusted Brand

8. Sealy Dreamlife 12-Inch Gel Memory Foam Queen Mattress

SealyComfort GelSurface-Guard

Sealy brings decades of mattress manufacturing experience to the Dreamlife line, and this 12-inch gel memory foam model carries the brand’s Surface-Guard Technology for antimicrobial protection. For side sleepers, the 2.5-inch SealyComfort gel memory foam layer is the defining feature. This layer conforms closely to the shoulder and hip, providing the targeted pressure relief that side sleepers need. The SealySupport transition foam layer underneath adds a buffer that prevents the sleeper from bottoming out against the dense base foam.

The plush firmness rating makes this one of the softer options among the nine models reviewed. Side sleepers with broad shoulders or lighter body frames tend to benefit from this plush feel because it eliminates shoulder pressure without needing a thick pillow to fill the gap. Owners specifically mention that the mattress supports spine alignment even in the side position and that it feels firm yet soft at the same time. The antimicrobial Surface-Guard Technology is a meaningful addition for side sleepers who are allergy-prone, as it prevents bacteria and allergen buildup on the surface.

The clear trade-off is heat retention. Multiple side sleepers report that this mattress retains extreme heat, causing sweating in warm weather. Cooling toppers and breathable sheets can mitigate this, but the Dreamlife does not incorporate the gel cooling or PCM technology found in other models at this price. For side sleepers who sleep cool or live in temperate climates, this is less of a concern, but hot sleepers should strongly consider one of the cooling-focused alternatives on this list. The mattress is CertiPUR-US certified and backed by a 10-year limited warranty.

What works

  • Plush gel memory foam relieves shoulder pressure for broad-shouldered side sleepers
  • Surface-Guard Technology prevents allergen and bacteria buildup
  • Trusted major brand with rigorous product testing standards

What doesn’t

  • Significant heat retention reported by hot sleepers even with cooling sheets
  • Plush firmness may not provide enough hip support for heavier side sleepers
Budget Champion

9. Marsail 10-Inch Gel Memory Foam Queen Mattress

Zippered CoverGel Memory Foam

The Marsail 10-inch mattress is the most budget-friendly entry-level option on this list, but it does not sacrifice the pressure relief features that side sleepers need. The gel memory foam layer is engineered to cradle the body’s curves, which directly benefits the shoulder and hip zones. The medium firmness rating means it is not as plush as a dedicated side sleeper mattress, but it is also not a brick — the foam provides enough give to absorb shoulder pressure while the base layer prevents excessive hip sinkage. Several owners compare its feel to mattresses costing many multiples of this one.

One standout feature at this price point is the removable zippered cover. Most budget mattresses have a fixed cover that cannot be cleaned. The Marsail’s cover can be unzipped and washed, which keeps the sleeping surface fresh significantly longer. The gel infusion helps the mattress sleep cooler than standard memory foam, and the fire-retardant materials add safety compliance without using harsh chemical barriers. The mattress expands to full size within 24 hours, which is faster than the 72-hour standard for many thicker models.

The 10-inch profile is the thinnest on this list. For side sleepers who use a low-profile platform bed or a bunk bed, that is actually an advantage. But for side sleepers who want a taller mattress for easier entry and exit, the 10-inch height may feel insufficient. The thinner profile also means there is less foam between the sleeper and the base, so the mattress performs best on a solid platform or slatted frame rather than a traditional box spring with wide gaps. Heavier side sleepers should consider a thicker model with more support foam to prevent premature sagging in the hip zone.

What works

  • Removable zippered washable cover adds long-term hygiene and value
  • Gel memory foam provides adequate shoulder and hip pressure relief
  • Fastest expansion time on this list — ready to sleep on within 24 hours

What doesn’t

  • 10-inch thickness provides less support foam for heavier side sleepers
  • Lower profile may feel too low on tall bed frames

Hardware & Specs Guide

Foam Density and Its Impact on Pressure Relief

Foam density is measured in pounds per cubic foot (PCF). Higher-density foams (3 PCF and above) resist compression better and maintain their shape longer. For side sleepers, the comfort layer density determines how well the mattress absorbs shoulder pressure without letting the hip sink. Most affordable mattresses use 1.5 to 2.5 PCF gel memory foam in the top layer. That is acceptable for average-weight side sleepers, but heavier individuals should prioritize models that disclose higher-density support foam (2.0 PCF or more) in the base layer to prevent the hip zone from developing a permanent sag after a year of use.

Independent Pocket Springs vs. Continuous Coils

Hybrid mattresses use pocket springs that are individually wrapped in fabric. Each spring moves independently, so the mattress can provide different support levels at the shoulder versus the hip. Continuous coil systems, by contrast, are wired together and flex as a single unit. For side sleepers, independent pocket springs are strongly preferred because they allow local contour at the shoulder while maintaining firmness at the hip. Look for models that specify a minimum of 800 pocket springs in a queen size — that density provides enough individual nodes to respond to the distinct pressure demands of the side sleeping position.

FAQ

What firmness level is best for side sleepers on a budget?
The ideal firmness for side sleepers falls between medium and medium firm, typically rated 5 to 7 on the 10-point firmness scale. At this level, the mattress sinks enough under the shoulder to prevent pressure buildup but resists enough under the hip to keep the spine level. Budget-friendly memory foam mattresses default to medium firm more often than plush, which is actually advantageous for side sleepers over 150 pounds. Lighter side sleepers may need a medium plush feel (around 4 to 5) to avoid shoulder pressure, which is less common in the budget tier but available in models like the Novilla medium plush.
Will a 10-inch mattress provide enough support for side sleeping?
A 10-inch mattress can provide adequate support for side sleeping if it uses a high-density support foam base rather than cheap polyfoam that compresses too quickly. The Marsail 10-inch model demonstrates that a well-designed thin mattress can still relieve shoulder pressure and support the hip. The concern with 10-inch profiles is durability — they have less total foam to absorb compression over years of use. Side sleepers who weigh above 200 pounds should strongly consider at least a 12-inch profile to ensure the supporting base foam does not break down within the warranty period.
How long should a mattress take to expand before I sleep on it?
Most compressed foam mattresses require 24 to 72 hours to reach their full shape. The expansion time depends on the room temperature and the thickness of the mattress. Thinner models (10 inches) often reach full size in under 24 hours, while thicker hybrid models with pocket springs may need the full 72 hours to settle. For side sleepers, it is important to wait until the mattress has fully expanded before starting the trial evaluation period because the feel of a partially expanded mattress does not reflect its final support characteristics.

Final Thoughts: The Verdict

For most side sleepers looking for a proven balance of pressure relief and spinal alignment, the affordable mattress for side sleepers winner is the BedStory 14-Inch Hybrid Mattress because its independent pocket spring system provides zoned support that adapts to shoulder and hip pressure points simultaneously. If you want active cooling technology that prevents heat buildup through the night, grab the Sweetnight CoolNest. And for an entry-level pick that still delivers removable cover convenience and fast setup, nothing beats the Marsail 10-Inch Gel Memory Foam for its price-to-performance ratio.

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.