rename to_array to to_c