need to provide our own tempdir