Fixing my mistakes

A close family member asked me if I could replace the battery on their iPhone 6, as it was wearing out. I agreed, and replaced the battery with one I had lying around. He told me that after I finished the repair, it wouldn’t charge. I looked into it, and discovered that during this repair, I accidentally slipped and cut a ribbon cable that connects the charging port to the device. I happened to have a new cable laying around, so I put it in, along with a new speaker. Apparently, the new speaker didn’t work, so I had to replace that speaker as well. Finally, I to everything fixed, and his phone works as good as new!