add table of detail