It’s not your imagination: Being confined to a windowless cubicle can drive up a hankering for junk food. And lack of access to nature may be the big reason behind it.

A British study published in Health & Place found that people with a daily view of a green landscape (like a garden or community park) expressed fewer cravings for unhealthy foods. So when possible, people should set up their workspaces close to a window with a verdant view—or carve out time in the day to walk among Mother Nature’s highlights. And, yes, this advice still stands for people in colder climes where winterscapes lean more toward gray than green.