Added findRandom method to repository