refactoring LoadBalancer