added dir output