added table generator