Alexa’s getting better at detecting potential home or apartment break-ins when you’re not around. During an event today in Seattle, Amazon introduced a new and improved Alexa Guard, the Alexa feature that sends users notifications when Echo smart speakers hear the sound of breaking glass or a smoke or carbon monoxide alarm. Now, Alexa Guard can detect human activity when it’s in Away Mode, and it can be added to Routines.

“We’ve been working on the science training the local model to understand what sounds are correlated with different activities, so … Alexa can notify you when she detected the likelihood of activity in your home,” wrote Amazon in a press release, adding that Guard integrates with Ring and ADT so that alerts can be simultaneously sent to a security provider.

Amazon previously said it trained machine learning models on hundreds of sound samples of glass breaking, which it compiled from contractors. It’s unclear what sort of data set was used for the human activity detection, but we’ll update this post once we learn more.

As before, saying a command like “Alexa, I’m leaving” immediately transitions your Echo devices into Guard Mode with a few smart alerts that, if detected, send a notification to your phone. With the new Routines integration, Guard will also lock any doors with compatible smart locks, and it can randomize compatible lights when you’re away to make it appear as if you’re there.

It’s easy as ever to set up Alexa Guard, which began rolling out to Echo devices late last year. Here’s how: