create array of in_a, in_b and out_z