the Arrays and the distribution of data are working