forgot to uncomment temp file creation