Added additional comments for better organization and formatting