Add pair structure