added functions to HitsRepo