added GetTexts method on repository