The HomePod is Apple’s crack at the smart speaker industry which would rival the Google Home and the Amazon Echo. This latest smart speaker won’t be available until December but Apple mistakenly released an update for the device. However, this isn’t the bad news for Apple, as the firmware that was released contained details about the company’s upcoming flagship smartphone – the iPhone 8.

This mistake by Apple is very reminiscent of the time the iPhone 4 was leaked in 2010, when an Apple software engineer accidentally left a prototype of the device in a bar in Redwood City, California.

This time, the details about the next iPhone were revealed by a couple of iOS developers, Steve Troughton-Smith and Guilherme Rambo, both of which have decrypted the firmware intended for the HomePod.

Here are the things they found out about the iPhone 8.

A new facial recognition system called Pearl ID

There’s seems to be a new infrared camera with facial recognition to be installed at the top of the display, possibly called Pearl ID.

The firmware apparently made several references to face recognition, in addition to the infrared, which is also capable of recognizing a person’s face. This type of camera can also distinguish a flat picture of a person if someone would try to trick it to unlock the device.