getting archive to work