a comment added for the pairs function