match the correct pair