Can we assume `totalEntries` is present here?