add no new entries algorithm