changed count to entryID and reworked how it is implemented