Apple is adding a new tool to remind people to take medications to the iPhone health app, the company announced today. Apple Watch is also getting additional sleep tracking features.

The new medications app will let users add any drugs they take by either scanning a label on a medication bottle or searching through a list of medicines. People can create custom schedules for each drug they are taking and receive alerts to remind them when it’s time to take one.

In the United States, the app will also alert users if there are any dangerous interactions between the drugs that they take.

watchOS 9 also includes upgrades to the sleep feature, which the company says can now track when users are in different sleep stages like REM or deep sleep.

Other new health features that might be on the horizon might include a temperature sensor on the Apple Watch, which could be used for fertility tracking. (Body temperature changes over the course of the menstrual cycle, and the device can help predict when someone might get their period or become pregnant.)

Developing… we’re adding more to this post, but you can follow along with our WWDC 2022 live blog to get the news even faster.