repositories return entities