adding some notes to deal with pagination.