datastructure to repo