remove getEntries function