for output directory