removed unused `obtainEntryType` method