started adding directory iteration support