Both Galaxy S8 and iPhone 8 (or 7S) flagships are expected to launch next year. Apple has, despite selling good numbers of iPhones, experienced the third straight decline in revenue in 2016, while Samsung’s profit has taken a hit due to the Galaxy Note 7 scandal, which makes both the future phones’ success important for the companies.

There are no confirmed reports about either device, but rumors have been around about both phones. Looking at the expected specs and features, here is a comparison between the two.

iPhone 8 is expected to be Apple’s first iPhone without a home button. The company acquired a relevant patent Oct. 4. Samsung also might do the same with Galaxy S8.

Apple already ditched the 3.5mm audio jack and combined the audio jack and charging port. This seems to have become common practice and according to rumors, Samsung might also do the same.

Both company’s current flagships offer fingerprint sensors, but Samsung’s device is expected to the first major one in the world to offer an optical fingerprint sensor, according to SamMobile. The sensor would be placed under the display and will be an optical scanner armed with ultrasonic sensors which will make it faster than regular fingerprint sensors.

A leaked spreadsheet on Weibo shows the Samsung Galaxy S8 Edge will have a 5.5-inch 4K display while Apple is expected to continue with its retina displays.

The S8 is expected to come with a Snapdragon 830 processor, while no information about Apple’s A11 chip is available yet.

In terms of storage, iPhone 8 is expected to come in 32GB, 128GB and 256GB versions, while the S8 is expected to come in a single 64GB version with 256GB expandable storage. While iPhone 8 is expected to come with 12- and 8- megapixel front and rear cams, Samsung Galaxy S8 is expected to come with 16-megapixel rear cam and a 12-megapixel 4K-capable front cam, knowyourmobile reports.

Other specs about both devices are yet to emerge and it remains to be seen which phone does well in the coming year.