The Galaxy A8 is set to be Samsung’s thinnest phone yet at 5.94mm, but the South Korean company apparently managed to fit in a 16-megapixel camera. A new report from SamMobile reveals how the Galaxy-maker tweaked its camera to fit into such a small frame.

It turns out the Galaxy A8 will get a thinner 5mm camera module to match the new design. That’s 23 percent thinner that the 16-megapixel shooter included with the Galaxy Note 4. Unfortunately, the smaller pixel size means the new phone won’t take photos as well as the Galaxy S6SamMobile said.

Samsung is expected to offer a mix of mid-range specs for the Galaxy A8 with a lower price to match. The device allegedly packs a 5.7-inch 1080p display, a Snapdragon 615 processor, a 3500mAh battery, a 5-megapixel front-facing camera, 2GB of RAM and 16GB of storage with microSD support. That should do just fine in most situations, though it won’t compete with the latest flagship Android phones.

The Galaxy A8 has been leaking on a daily basis, so we have a feeling an official announcement is just around the corner.