Pairs complicated but works