double pairs editing