made dirs and indices