parsing only once using class method on repository