Concatenate inputs to form the data out array