All an iPhone user has to say is, “Hey Siri, I’m getting pulled over.” One of the latest apps to hit the iOS12 mobile highway is “Shortcuts” and with it, users can plot out a series of actions and trigger them by signaling the voice-assistant, USA today reports. One user, Robert Petersen of Arizona, created an add-on called “Police” that can give drivers added security during traffic stops.

Getty Images

Police was created to covertly record law enforcement officials to “keep everyone safe and honest.” So how does it work? Well, once Siri is alerted about the traffic stop, the program springs into action to pause any music that may be playing, turn down your screen brightness and puts your phone in Do Not Disturb mode. Siri then sends a text message to a designated emergency contact to let them know what’s happening.

The front camera then turns on to record video of the occurrence.

Once users stop the recording, a copy of the video is sent to a specified contact, the brightness returns to normal, and Do Not Disturb is disabled, Petersen said.