Implememnt mark_for_archive and Utility fuctions