added dir enumeration