for dir test