finish_table&graph