Improved comments, refactored minor parts for better clarity
Improved comments, refactored to be more concise, readable
Improved comments, refactored to be more concise, readable