change num_rows to num_tracks