added directory index getter