added table generator for results