Added comments for everyline for better understanding.