implement getEntries