Samsung has finally released the results of the inquiry it commissioned into exactly what went wrong with the Galaxy Note 7, an acclaimed smartphone that had to be pulled from the market entirely last year after widespread reports of fires caused by the device. The company says there were two separate flaws with the Galaxy Note 7’s batteries. The first battery had a design flaw in the upper right corner that could cause a short circuit, according to Recode, while the second battery — used for replacement units — had a manufacturing issue that could lead to fires because of a welding defect.