loadEntries() coded and tested