got the table generator working