Added commets for readability