some more context because I'll probably pin it on my profile:
This is a pcb that's designed to go in the cap (on the outside) of a Dopper water bottle. It keeps track of your water consumption, by counting up whenever you click the button (when you finish your 500ml)
attached image is the backside of this same pcb, which has all the smarts. The black ic on top is a 74HC4017D decade counter. Everytime the button on the front gets pressed, the number stored gets incremented, and for a few seconds power is supplied to the led segment that's linked to that number. When the counter reaches 5 it resets to 0.
I forgot to reconnect a bunch of traces in the top left somehow oof. Fixed and sent to a friend to review further