docs: internal-workings.md changes