add to archive method