archive and cli helper methods