redesign on TableResult