data is list of arrays.