There’s a reason they call it beauty sleep. A good night’s rest is important for both your mental and physical needs. But just because you know you need it, doesn’t mean shut eye always comes easy. With all the stresses of life, sometimes sleepless nights happen. Fret not! We’ve got the must-have gadget for improving your pillow time: the Beddit Sleep Monitor.

Here’s how it works: The Beddit goes directly on your mattress, under your sheets — meaning you don’t have to strap it on your body at all and it won’t disrupt your sleep. Then, you download the Beddit app. From there you can track it all — your total sleep time, sleep cycles (aka your deep and light sleep duration), awake time, heart rate and ambient sounds (guess you’ll definitely find out if you’re a snorer or not). The data is transmitted seamlessly to your smartphone so you can find out how your night went.

So wait, how does it improve your sleeping? First, you can set goals using the detailed graphs and stats in the app. Or soothe yourself to sleep using the app’s custom, gentle sleep sounds. But the very best thing of all? The smart alarm wakes you during a light sleep cycle, so you’ll feel refreshed and ready to start your day every day.

At $150 a pop, this device is definitely a bit of an investment. But how much is good sleep worth to you? If you’re constantly wishing you’d gotten a better night’s rest, it’s basically the cost of staying in a hotel room for one night… just to put it into perspective ;)

We’re curious: how many hours of sleep each night do you consider a good night? Tell us below in the comments!