Struct table building