added resultDir