adding intermediate files