adding extra logging to archive