working on last-entry cleanup task