changed function name ts_table_2_zoo to be consistent