added 1D dir_dir