added repository factories