Added additional comments for clarity