[17] Phase 5: added code comments everywhere