add table output at end