construct_arrays libraries