- Added comments for clarity
- Refractored variable names for clarity