make pairs with the structure dolist