Reduction of the beans to 25–30% moisture by weight, to prevent rotting and to lock the aroma in the pods, is always achieved by some exposure of the beans to air, and usually (and traditionally) intermittent shade and sunlight. Fruits may be laid out in the sun during the mornings and returned to their boxes in the afternoons, or spread on a wooden rack in a room for three to four weeks, sometimes with periods of sun exposure. Drying is the most problematic of the curing stages; unevenness in the drying process can lead to the loss of vanillin content of some fruits by the time the others are cured.