add archive and delete