finish make_array_td