Uber Malaysia has introduced a new safety feature it calls Real-Time ID Check, which uses Microsoft Cognitive Services to ensure the driver partner using the app matches the account in the ride-sharing services’ records.

According to the company, this “prevents fraud and protects drivers’ accounts from being compromised. It also protects riders by building another layer of accountability into the app to ensure the right person is behind the wheel.”

The feature requires drivers to periodically to take a selfie in the Uber app before they accept rides, which is then instantly compared to the one corresponding with the registered Uber account. Should both photos not match up, the account is temporarily blocked while Uber investigates the situation.

To ensure a pleasant user experience, the app will notify the driver instantly if it can’t detect a face or if the photo quality is poor to ensure a proper photo is submitted. Additionally, drivers are required to park their vehicle before they take the validation selfie.

“This is one of the ways to make our rides more safe and reliable,” said Uber Malaysia communications head Leigh Wong in a report by The Sun. Wong also suggested riders to share the route used with their contacts so their friends or family could know where they are for additional safety.