first iteration of data access generator