service talks to repository