modified $DIR