add output file for trial