changes to pairs persistance