setup mux_array