finish the array datasource