renamed make_table_header() to open_table()