only need to define OUTFILE once