ironing out the pairs list