changed temp file output