trying to output to file again