using correct repository