Adds inverted table structure