updated print_table, still lame