Modified variable names for better understanding of traversing the output list