Create matching tables