If you’ve been on a long-haul flight, you likely know how cramped and uncomfortable it can be when you’re trying to sleep. Now imagine putting in an 11-hour day on that same airplane and trying to squeeze in a few hours of sleep. That’s why many long-haul airplanes have private sleeping areas for the crew consisting of single beds curtained off, usually above economy class. Crew members sleep in four-hour shifts, then get back to work to ensure you have a safe, comfortable ride. With short layovers and little time for sleep, airlines are doing what they can to keep their staff well-rested.