If you’re having trouble getting some quality sleep, try opening your doors and windows. It might cure your insomnia.

A new study shows that the natural ventilation created by opening up your sleeping space might lower carbon dioxide levels in the air and increase the quality of your sleep.

The study, published by the journal Indoor Air (they have scientific journals for everything), examined the carbon dioxide, temperature, and humidity level of the bedrooms of 17 adult subjects in two settings: open doors and windows, and closed doors and windows.

The participants completed questionnaires and sleep diaries, and a sensor was put under their pillow to detect movement in their sleep.

The study found that both the participants subjective measures of their sleep quality (questionnaire) and the objective (the sensor) both correlated with the levels of carbon dioxide in the air.

The levels of carbon dioxide in the air were significantly lower when doors and windows were open, and this meant that participants had better self-reported sleep quality, woke up fewer times throughout the night and more efficient sleep.

The study is highly preliminary, and only shows a correlation, but it’s further evidence that the air around you can influence how well you sleep.

I don’t know about you, but I now have another reason to keep my doors open at night.